diff options
Diffstat (limited to 'themes/docsy/layouts/shortcodes/alert.html')
-rw-r--r-- | themes/docsy/layouts/shortcodes/alert.html | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/themes/docsy/layouts/shortcodes/alert.html b/themes/docsy/layouts/shortcodes/alert.html index a95d8b2f8..ff3b0b342 100644 --- a/themes/docsy/layouts/shortcodes/alert.html +++ b/themes/docsy/layouts/shortcodes/alert.html @@ -1,5 +1,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 }} -</div>
\ No newline at end of file +{{ .Inner | markdownify }} +</div> |