diff options
Diffstat (limited to 'layouts/partials/metadata.gmi')
-rw-r--r-- | layouts/partials/metadata.gmi | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/layouts/partials/metadata.gmi b/layouts/partials/metadata.gmi index 368c3d3..f175f9e 100644 --- a/layouts/partials/metadata.gmi +++ b/layouts/partials/metadata.gmi @@ -1,9 +1,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 }} 🔗 {{ .Title | safeHTML }} +=> .{{ .RelPermalink }} {{ emojify ":link:" }} {{ .Title | safeHTML }} {{ end }} + {{- range last 1 (where .Site.RegularPages.ByTitle "Section" "entry").ByPublishDate.Reverse }} {{- partial "pageinfo" . }} -=> .{{ .RelPermalink }} 🔗 {{ .Title | safeHTML }}{{ end }} +=> .{{ .RelPermalink }} {{ emojify ":link:" }} {{ .Title | safeHTML }}{{ end }}
\ No newline at end of file |