aboutsummaryrefslogtreecommitdiff
path: root/layouts/partials/metadata.gmi
diff options
context:
space:
mode:
authorNicholas Johnson <nick@nicholasjohnson.ch>2023-02-24 00:00:00 +0000
committerNicholas Johnson <nick@nicholasjohnson.ch>2023-02-24 00:00:00 +0000
commitdc89efa0d1ba80e8a7c61ddd2d0d4243cc82e52fb2c9104311b4ba5e2af81ff6 (patch)
tree377e286c42216fe50949c2e53a3c5aecfebf3d60be70a4d800f272370157191a /layouts/partials/metadata.gmi
parent4200dccb4372c7095e151803364c3f34eaa466327a2fc015a7a89065e4742b22 (diff)
downloadhugo-theme-journal-dc89efa0d1ba80e8a7c61ddd2d0d4243cc82e52fb2c9104311b4ba5e2af81ff6.tar.gz
hugo-theme-journal-dc89efa0d1ba80e8a7c61ddd2d0d4243cc82e52fb2c9104311b4ba5e2af81ff6.zip
Implement term Atom feeds
Diffstat (limited to 'layouts/partials/metadata.gmi')
-rw-r--r--layouts/partials/metadata.gmi8
1 files changed, 0 insertions, 8 deletions
diff --git a/layouts/partials/metadata.gmi b/layouts/partials/metadata.gmi
index c3d7af4..31b1155 100644
--- a/layouts/partials/metadata.gmi
+++ b/layouts/partials/metadata.gmi
@@ -1,10 +1,2 @@
-{{ $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:" | safeHTML }} {{ .Title | safeHTML }}
-
-{{ end }}
-
-{{- range last 1 (where .Site.RegularPages.ByTitle "Section" "entry").ByPublishDate.Reverse }}
-{{- partial "pageinfo.gmi" . }}
-=> {{ .RelPermalink }} {{ emojify ":link:" | safeHTML }} {{ .Title | safeHTML }}{{ end }} \ No newline at end of file