diff options
Diffstat (limited to 'layouts/partials/metadata.gmi')
-rw-r--r-- | layouts/partials/metadata.gmi | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/layouts/partials/metadata.gmi b/layouts/partials/metadata.gmi index b697ea0..368c3d3 100644 --- a/layouts/partials/metadata.gmi +++ b/layouts/partials/metadata.gmi @@ -1,11 +1,9 @@ {{ $entriesMinusOne := sub (len (where .Site.RegularPages.ByTitle "Section" "entry").ByPublishDate.Reverse) 1 }} {{- range first $entriesMinusOne (where .Site.RegularPages.ByTitle "Section" "entry").ByPublishDate.Reverse }} -{{- $dateFormat := .Site.Params.dateFormat | default "2 Jan 2006" -}} -📆 {{ .PublishDate.Format $dateFormat | safeHTML }} | ⏱️ {{ .ReadingTime | safeHTML }} minute read +{{- partial "pageinfo" . }} => .{{ .RelPermalink }} 🔗 {{ .Title | safeHTML }} {{ end }} {{- range last 1 (where .Site.RegularPages.ByTitle "Section" "entry").ByPublishDate.Reverse }} -{{- $dateFormat := .Site.Params.dateFormat | default "2 Jan 2006" -}} -📆 {{ .PublishDate.Format $dateFormat | safeHTML }} | ⏱️ {{ .ReadingTime | safeHTML }} minute read +{{- partial "pageinfo" . }} => .{{ .RelPermalink }} 🔗 {{ .Title | safeHTML }}{{ end }} |