mirror of
https://github.com/Hopiu/bootstrap.git
synced 2026-03-22 07:20:23 +00:00
10 lines
231 B
HTML
10 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>
|