summaryrefslogtreecommitdiff
path: root/layouts/partials
diff options
context:
space:
mode:
authorNicholas Johnson <nick@nicholasjohnson.ch>2023-07-31 00:00:00 +0000
committerNicholas Johnson <nick@nicholasjohnson.ch>2023-08-01 00:00:00 +0000
commite2c122bd5d738261a14e05648ee261f816b342b7909a9bfc873be8c8db3e1d98 (patch)
treeba9bf6ee4321603ddf1fdb298175cd6cadc3f22967eae8318dd7c10314a3b0da /layouts/partials
parentbe38f8fb7725828bc5c21906b6c0a72bd8403af46eb36f4c78278afe229d8434 (diff)
downloadhugo-theme-journal-e2c122bd5d738261a14e05648ee261f816b342b7909a9bfc873be8c8db3e1d98.tar.gz
hugo-theme-journal-e2c122bd5d738261a14e05648ee261f816b342b7909a9bfc873be8c8db3e1d98.zip
Add multilingual support for taxonomies
Diffstat (limited to 'layouts/partials')
-rw-r--r--layouts/partials/pageinfo.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/layouts/partials/pageinfo.html b/layouts/partials/pageinfo.html
index 42d2e90..ef64ef1 100644
--- a/layouts/partials/pageinfo.html
+++ b/layouts/partials/pageinfo.html
@@ -1,2 +1,2 @@
{{ $dateFormat := .Site.Params.dateFormat | default ":date_long" -}}
-{{ emojify ":calendar:" | safeHTML }}&nbsp;{{ .Page.PublishDate | time.Format $dateFormat | safeHTML }} | {{ emojify ":stopwatch:" | safeHTML }}&nbsp;{{ i18n "readingTime" .ReadingTime | safeHTML }}{{ if .Page.Params.Tags }} | {{ emojify ":label:" | safeHTML }}&nbsp;{{ end }}{{ range $key, $val := .Page.Params.Tags }}{{ if $key }}, {{ end }}<a class="link" href='{{ "/tags/" }}{{ . | urlize }}' rel="noreferrer">{{ $val }}</a>{{ end }}
+{{ emojify ":calendar:" | safeHTML }}&nbsp;{{ .Page.PublishDate | time.Format $dateFormat | safeHTML }} | {{ emojify ":stopwatch:" | safeHTML }}&nbsp;{{ i18n "readingTime" .ReadingTime | safeHTML }}{{ if (.Param (lower (i18n "tags"))) }} | {{ emojify ":label:" | safeHTML }}&nbsp;{{ end }}{{ range $key, $val := (.Param (lower (i18n "tags"))) }}{{ if $key }}, {{ end }}<a class="link" href='{{ relLangURL (lower (i18n "tags")) }}/{{ . | urlize }}' rel="noreferrer">{{ $val }}</a>{{ end }}