summaryrefslogtreecommitdiff
path: root/layouts/partials/metadata.gmi
blob: 368c3d31bcf051b68c2eeb15ee74843cec6fa8725fe0807ff3cc242714653a05 (plain)
1
2
3
4
5
6
7
8
9
{{ $entriesMinusOne := sub (len (where .Site.RegularPages.ByTitle "Section" "entry").ByPublishDate.Reverse) 1 }}
{{- range first $entriesMinusOne (where .Site.RegularPages.ByTitle "Section" "entry").ByPublishDate.Reverse }}
{{- partial "pageinfo" . }}
=> .{{ .RelPermalink }} 🔗 {{ .Title | safeHTML }}

{{ end }}
{{- range last 1 (where .Site.RegularPages.ByTitle "Section" "entry").ByPublishDate.Reverse }}
{{- partial "pageinfo" . }}
=> .{{ .RelPermalink }} 🔗 {{ .Title | safeHTML }}{{ end }}