Welcome to mirror list, hosted at ThFree Co, Russian Federation.

callout.html « _includes « site - github.com/twbs/bootstrap.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 434d10e1e95e71ba50ed0212486201666a2a9922 (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>