aboutsummaryrefslogtreecommitdiff
path: root/layouts/partials/pageinfo.html
blob: 42d2e904b090da4e1cfb59c4a514fc60c55adedbfde242e58c9c3fcd95a6d883 (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 .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 }}