aboutsummaryrefslogtreecommitdiff
path: root/_includes/callout.html
diff options
context:
space:
mode:
authorm5o <[email protected]>2018-01-16 00:49:36 +0200
committerXhmikosR <[email protected]>2018-03-12 21:50:21 +0200
commitb5e6eb22a6da98c489c00e6266daa4599e3ce097 (patch)
treeca46ac63204c54c0e6c63a78f33f2a2262d82ac3 /_includes/callout.html
parent7b2427cc6b790b2b66dee32ba55b8fa694b789e2 (diff)
downloadbootstrap-b5e6eb22a6da98c489c00e6266daa4599e3ce097.tar.xz
bootstrap-b5e6eb22a6da98c489c00e6266daa4599e3ce097.zip
Use callout without custom Jekyll plugin.
Diffstat (limited to '_includes/callout.html')
-rw-r--r--_includes/callout.html5
1 files changed, 5 insertions, 0 deletions
diff --git a/_includes/callout.html b/_includes/callout.html
new file mode 100644
index 000000000..8ee72de99
--- /dev/null
+++ b/_includes/callout.html
@@ -0,0 +1,5 @@
+{% comment %} allowed: info danger warning {% endcomment %}
+{% assign css_class = include.type | default: "info" %}
+<div class="bd-callout bd-callout-{{ css_class }}">
+ {{ include.content | markdownify }}
+</div>