aboutsummaryrefslogtreecommitdiffstats
path: root/vendor/twbs/bootstrap/site/_includes/callout.html
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/twbs/bootstrap/site/_includes/callout.html')
-rw-r--r--vendor/twbs/bootstrap/site/_includes/callout.html9
1 files changed, 9 insertions, 0 deletions
diff --git a/vendor/twbs/bootstrap/site/_includes/callout.html b/vendor/twbs/bootstrap/site/_includes/callout.html
new file mode 100644
index 000000000..ff9450dc4
--- /dev/null
+++ b/vendor/twbs/bootstrap/site/_includes/callout.html
@@ -0,0 +1,9 @@
+{%- comment -%}
+Usage: {% include callout.html content=callout type="type" %},
+where content is a capture with the content
+and type is one of: info (default), danger, warning
+{%- endcomment -%}
+{%- assign css_class = include.type | default: "info" -%}
+<div class="bd-callout bd-callout-{{ css_class }}">
+ {{- include.content | markdownify -}}
+</div>