Socialify

Folder ..

Viewing callout.html
9 lines (7 loc) • 234.0 B

1
2
3
4
5
6
7
8
9
{{- /*
  Usage: `callout "type"`, where `type` is one of info (default), danger, or warning
*/ -}}

{{- $css_class := .Get 0 | default "info" -}}

<div class="bd-callout bd-callout-{{ $css_class }}">
{{ .Inner | markdownify }}
</div>