aboutsummaryrefslogtreecommitdiff
path: root/themes/docsy/layouts/shortcodes/alert.html
blob: ff3b0b3423d25a2180905f5dd4050377b83dcc05 (plain)
1
2
3
4
5
6
{{ $_hugo_config := `{ "version": 1 }` }}
{{ $color := .Get "color" | default "primary" }}
<div class="alert alert-{{ $color }}" role="alert">
{{ with .Get "title" }}<h4 class="alert-heading">{{ . | safeHTML }}</h4>{{ end }}
{{ .Inner | markdownify }}
</div>