diff options
Diffstat (limited to 'layouts/shortcodes/notice.html')
-rw-r--r-- | layouts/shortcodes/notice.html | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/layouts/shortcodes/notice.html b/layouts/shortcodes/notice.html index e63ec50..b52e77f 100644 --- a/layouts/shortcodes/notice.html +++ b/layouts/shortcodes/notice.html @@ -1 +1,3 @@ -<div class="notices {{ .Get 0 }}" {{ if len .Params | eq 2 }} id="{{ .Get 1 }}" {{ end }}>{{ .Inner }}</div>
\ No newline at end of file +<div class="notices {{ .Get 0 }}" data-title="{{ .Get 1 | default (.Get 0) | humanize }}">
+ {{ .Inner | markdownify }}
+</div>
\ No newline at end of file |