diff options
author | Nicholas Johnson <nick@nicholasjohnson.ch> | 2023-02-24 00:00:00 +0000 |
---|---|---|
committer | Nicholas Johnson <nick@nicholasjohnson.ch> | 2023-02-24 00:00:00 +0000 |
commit | 05422f3a36eb406451d714f16204d8cded3e7fb8eb06131948c2da05749ec20d (patch) | |
tree | c19e7acc348802b43ca6d05066d4236491a671b6bbd5eeff5fbf76a2e7b03e9b /layouts/partials/pageinfo.html | |
parent | 9433a812f2184fa99eeb6ce6249bb49cfc0926bb0e7c3e5bd5b7d42676eee5e7 (diff) | |
download | hugo-theme-journal-05422f3a36eb406451d714f16204d8cded3e7fb8eb06131948c2da05749ec20d.tar.gz hugo-theme-journal-05422f3a36eb406451d714f16204d8cded3e7fb8eb06131948c2da05749ec20d.zip |
Declare safeHTML where possible
Diffstat (limited to 'layouts/partials/pageinfo.html')
-rw-r--r-- | layouts/partials/pageinfo.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/layouts/partials/pageinfo.html b/layouts/partials/pageinfo.html index c6643dc..5aca1c2 100644 --- a/layouts/partials/pageinfo.html +++ b/layouts/partials/pageinfo.html @@ -1,2 +1,2 @@ {{ $dateFormat := .Site.Params.dateFormat | default "2 Jan 2006" -}} -{{ emojify ":calendar:" }} {{ .Page.PublishDate.Format $dateFormat | safeHTML }} | {{ emojify ":stopwatch:" }} {{ .Page.ReadingTime | safeHTML }} minute read{{ if .Page.Params.Tags }} | {{ emojify ":label:" }} {{ end }}{{ range $key, $val := .Page.Params.Tags }}{{ if $key }}, {{ end }}<a class="link" href='{{ "/tags/" }}{{ . | urlize }}' rel="noreferrer">{{ $val }}</a>{{ end }} +{{ emojify ":calendar:" | safeHTML }} {{ .Page.PublishDate.Format $dateFormat | safeHTML }} | {{ emojify ":stopwatch:" | safeHTML }} {{ .Page.ReadingTime | safeHTML }} minute read{{ if .Page.Params.Tags }} | {{ emojify ":label:" | safeHTML }} {{ end }}{{ range $key, $val := .Page.Params.Tags }}{{ if $key }}, {{ end }}<a class="link" href='{{ "/tags/" }}{{ . | urlize }}' rel="noreferrer">{{ $val }}</a>{{ end }} |