blob: c110826e65a18e8d166f84f850011edb1d1da52509f6b61273e0b8dcddd8f1ad (
plain)
1
2
3
4
5
6
7
8
9
10
|
{{ $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.gmi" . }}
=> .{{ .RelPermalink }} {{ emojify ":link:" }} {{ .Title | safeHTML }}
{{ end }}
{{- range last 1 (where .Site.RegularPages.ByTitle "Section" "entry").ByPublishDate.Reverse }}
{{- partial "pageinfo.gmi" . }}
=> .{{ .RelPermalink }} {{ emojify ":link:" }} {{ .Title | safeHTML }}{{ end }}
|