aboutsummaryrefslogtreecommitdiff
path: root/themes/docsy/assets/vendor/bootstrap/site/_includes/callout.html
diff options
context:
space:
mode:
Diffstat (limited to 'themes/docsy/assets/vendor/bootstrap/site/_includes/callout.html')
-rw-r--r--themes/docsy/assets/vendor/bootstrap/site/_includes/callout.html9
1 files changed, 9 insertions, 0 deletions
diff --git a/themes/docsy/assets/vendor/bootstrap/site/_includes/callout.html b/themes/docsy/assets/vendor/bootstrap/site/_includes/callout.html
new file mode 100644
index 0000000..ff9450d
--- /dev/null
+++ b/themes/docsy/assets/vendor/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>