Use safeHTMLAttr to avoid encoding charecters in header meta and link tags.

This commit is contained in:
Fredrik Jonsson 2019-12-10 15:19:56 +01:00
commit 8ad67c1716

View file

@ -1,4 +1,4 @@
<p class="submitted">
<div class="submitted">
{{ with $.Param "author" }}<span class="author" itemprop="author">{{ . }}</span> – {{ end -}}
<time class="modified-date" datetime="{{ .Lastmod.Format "2006-01-02T15:04:05Z07:00" }}">{{ .Lastmod.Format ($.Param "dateformat" | default "2 January, 2006") }}</time>
</p>
</div>