0
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-01-18 10:52:19 +01:00
Bootstrap/site/_includes/callout.html

10 lines
351 B
HTML
Raw Normal View History

{%- comment -%}
2018-11-16 17:52:02 +02:00
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" -%}
2018-11-28 19:55:41 +02:00
<div class="bd-callout bd-callout-{{ css_class }}">
{{- include.content | markdownify -}}
</div>