0
0
mirror of https://github.com/twbs/bootstrap.git synced 2024-11-30 12:24:19 +01:00
Bootstrap/site/layouts/shortcodes/callout.html

11 lines
231 B
HTML
Raw Normal View History

{{- /*
Usage: `callout "type"`,
where type is one of info (default), danger, warning
*/ -}}
{{- $css_class := .Get 0 | default "info" -}}
<div class="bd-callout bd-callout-{{ $css_class }}">
{{ .Inner | markdownify }}
</div>