blob: f175f9eaba70650f1b332de5ef5994fd85de7ea0276673b7217460f90e2b1404 (
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" . }}
=> .{{ .RelPermalink }} {{ emojify ":link:" }} {{ .Title | safeHTML }}
{{ end }}
{{- range last 1 (where .Site.RegularPages.ByTitle "Section" "entry").ByPublishDate.Reverse }}
{{- partial "pageinfo" . }}
=> .{{ .RelPermalink }} {{ emojify ":link:" }} {{ .Title | safeHTML }}{{ end }}
|