diff options
author | Nicholas Johnson <nick@nicholasjohnson.ch> | 2023-02-24 00:00:00 +0000 |
---|---|---|
committer | Nicholas Johnson <nick@nicholasjohnson.ch> | 2023-02-24 00:00:00 +0000 |
commit | f52991466a86a32ebaa3ba8dd1f3cc77ea609b0a6aed370470242bfffa1d8cdf (patch) | |
tree | f9097667d46a9a1c69655910639725d397b9379741b074dd55f729498041e060 /layouts/partials/metadata.gmi | |
parent | 1f150c43cafe1074b3fe24bf1472a49b8bcf8ff583bdc6f7098e266f6e1e84c9 (diff) | |
download | hugo-theme-journal-f52991466a86a32ebaa3ba8dd1f3cc77ea609b0a6aed370470242bfffa1d8cdf.tar.gz hugo-theme-journal-f52991466a86a32ebaa3ba8dd1f3cc77ea609b0a6aed370470242bfffa1d8cdf.zip |
Add tag list to metadata partial
Diffstat (limited to 'layouts/partials/metadata.gmi')
-rw-r--r-- | layouts/partials/metadata.gmi | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/layouts/partials/metadata.gmi b/layouts/partials/metadata.gmi index f175f9e..c110826 100644 --- a/layouts/partials/metadata.gmi +++ b/layouts/partials/metadata.gmi @@ -1,10 +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" . }} +{{- partial "pageinfo.gmi" . }} => .{{ .RelPermalink }} {{ emojify ":link:" }} {{ .Title | safeHTML }} {{ end }} {{- range last 1 (where .Site.RegularPages.ByTitle "Section" "entry").ByPublishDate.Reverse }} -{{- partial "pageinfo" . }} +{{- partial "pageinfo.gmi" . }} => .{{ .RelPermalink }} {{ emojify ":link:" }} {{ .Title | safeHTML }}{{ end }}
\ No newline at end of file |