diff options
author | Nicholas Johnson <nick@nicholasjohnson.ch> | 2023-08-06 00:00:00 +0000 |
---|---|---|
committer | Nicholas Johnson <nick@nicholasjohnson.ch> | 2023-08-06 00:00:00 +0000 |
commit | 1a47f80f91ea999de49127d004804eb617298f7042432bfe0046518969f12c7c (patch) | |
tree | f3137fc176882f8c6ec1a18db623b946a8b1b959f8ab9458190e9d2e92d7a118 /layouts/partials | |
parent | 3b48995422f84624876e1b36e721540be45c6a1b0980315bb2e8eb9ac3a2bef2 (diff) | |
download | hugo-theme-journal-1a47f80f91ea999de49127d004804eb617298f7042432bfe0046518969f12c7c.tar.gz hugo-theme-journal-1a47f80f91ea999de49127d004804eb617298f7042432bfe0046518969f12c7c.zip |
Fix tag display in pageinfo for Geminiv0.7.1
Diffstat (limited to 'layouts/partials')
-rw-r--r-- | layouts/partials/pageinfo.gmi | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/layouts/partials/pageinfo.gmi b/layouts/partials/pageinfo.gmi index 1c3df2c..951bdf4 100644 --- a/layouts/partials/pageinfo.gmi +++ b/layouts/partials/pageinfo.gmi @@ -1,2 +1,2 @@ {{ $dateFormat := .Site.Params.dateFormat | default ":date_long" -}} -{{ emojify ":calendar:" | safeHTML }} {{ .Page.PublishDate | time.Format $dateFormat | safeHTML }} | {{ emojify ":stopwatch:" | safeHTML }} {{ i18n "readingTime" .ReadingTime }}{{ if .Page.Params.Tags }} | {{ emojify ":label:" | safeHTML }} {{ end }}{{ range $key, $val := .Page.Params.Tags }}{{ if $key }}, {{ end }}{{ $val }}{{ end }}
\ No newline at end of file +{{ emojify ":calendar:" | safeHTML }} {{ .Page.PublishDate | time.Format $dateFormat | safeHTML }} | {{ emojify ":stopwatch:" | safeHTML }} {{ i18n "readingTime" .ReadingTime }}{{ if (.Param (lower (i18n "tags"))) }} | {{ emojify ":label:" | safeHTML }} {{ end }}{{ range $key, $val := (.Param (lower (i18n "tags"))) }}{{ if $key }}, {{ end }}{{ $val }}{{ end }}
\ No newline at end of file |