aboutsummaryrefslogtreecommitdiffstats
path: root/vendor/twbs/bootstrap/site/layouts/shortcodes/callout.html
blob: 007f8a8e8eaf596874d3845c635ea21b8102225a (plain) (blame)
1
2
3
4
5
6
7
8
9
10
{{- /*
  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>