aboutsummaryrefslogtreecommitdiff
path: root/layouts/partials/pageinfo.html
blob: 4c8f419e09ee95b7ef240420679bc918f6b414aa0588ddd1bf40823238dbcc4c (plain)
1
2
{{ $dateFormat := .Site.Params.dateFormat | default "2 Jan 2006" -}}
{{ emojify ":calendar:" | safeHTML }}&nbsp;{{ .Page.PublishDate.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 }}