From f8c75e782fa18e846c773c761e36434e8f8591eadad6a405e48170f52ebc8874 Mon Sep 17 00:00:00 2001 From: Nicholas Johnson Date: Thu, 7 Nov 2024 00:00:00 +0000 Subject: Add time element to HTML entry metadata --- layouts/partials/pageinfo.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'layouts/partials/pageinfo.html') diff --git a/layouts/partials/pageinfo.html b/layouts/partials/pageinfo.html index ace8d18..2e5d2b9 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 }} {{ .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 }}{{ $val }}{{ end }} \ No newline at end of file +{{ emojify ":calendar:" | safeHTML }} | {{ emojify ":stopwatch:" | safeHTML }} {{ if (.Param (lower (i18n "tags"))) }} | {{ emojify ":label:" | safeHTML }} {{ end }}{{ range $key, $val := (.Param (lower (i18n "tags"))) }}{{ if $key }}, {{ end }}{{ $val }}{{ end }} -- cgit v1.2.3