aboutsummaryrefslogtreecommitdiff
path: root/layouts/partials/pageinfo.html
blob: 73780497afcbc5ef92fb1f379d8918580f9dec14cc18dcf2416150600f4344a9 (plain)
1
2
{{ $dateFormat := .Site.Params.dateFormat | default ":date_long" -}}
{{ emojify ":calendar:" | safeHTML }} {{ .Page.PublishDate | time.Format $dateFormat | safeHTML }} | {{ emojify ":stopwatch:" | safeHTML }} {{ i18n "readingTime" .ReadingTime | safeHTML }}{{ if (.Param (lower (i18n "tags"))) }} | {{ emojify ":label:" | safeHTML }} {{ 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 }}