summaryrefslogtreecommitdiff
path: root/layouts/partials/pageinfo.html
blob: ef64ef1d2a5dba22354548f79428a35028bd332f5e7e596efa0f5234612b0704 (plain)
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 (.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 }}