Fix to support Hugo 0.55.0 and later

This commit is contained in:
Nicolas Martignoni
2019-04-15 15:42:04 +02:00
parent 5e4b7b3cd1
commit f7789d85b4
2 changed files with 5 additions and 5 deletions

View File

@@ -7,5 +7,5 @@
{{- $.Page.Scratch.Add "noticecount" 1 -}}
<div class="notice {{ $noticeType }}" {{ if len .Params | eq 2 }} id="{{ .Get 1 }}" {{ end }}>
<p class="first notice-title">{{- i18n $noticeType -}}</p>
{{- .Inner -}}
{{- .Inner | markdownify -}}
</div>