aboutsummaryrefslogtreecommitdiff
path: root/themes/docsy/assets/vendor/bootstrap/site/_includes/callout.html
blob: ff9450dc44f8df3a152b1a2df5f3519bffcfff78 (plain)
1
2
3
4
5
6
7
8
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>