mirror of
https://github.com/twbs/bootstrap.git
synced 2024-11-30 12:24:19 +01:00
11 lines
231 B
HTML
11 lines
231 B
HTML
|
{{- /*
|
||
|
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>
|