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 | dd14f02c0ecab82b6643edd1751d2913533e6a82e89a33286774c0f56950e169 (patch) | |
tree | 545cad1a9cf7559269b8773be5d7636e9a333bb38964528b46cf95aa98542bb4 /layouts/_default/taxonomy.gmi | |
parent | dc89efa0d1ba80e8a7c61ddd2d0d4243cc82e52fb2c9104311b4ba5e2af81ff6 (diff) | |
download | hugo-theme-journal-dd14f02c0ecab82b6643edd1751d2913533e6a82e89a33286774c0f56950e169.tar.gz hugo-theme-journal-dd14f02c0ecab82b6643edd1751d2913533e6a82e89a33286774c0f56950e169.zip |
Implement taxonomy Atom feeds
Diffstat (limited to 'layouts/_default/taxonomy.gmi')
-rw-r--r-- | layouts/_default/taxonomy.gmi | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/layouts/_default/taxonomy.gmi b/layouts/_default/taxonomy.gmi index c68f674..04c3f73 100644 --- a/layouts/_default/taxonomy.gmi +++ b/layouts/_default/taxonomy.gmi @@ -2,8 +2,12 @@ => / {{ emojify ":link:" | safeHTML }} Return to homepage -# All {{ .Type }} - {{- range .Data.Pages }} +# {{ .Type | humanize }} +## Feeds +=> {{ .RelPermalink | replaceRE `(?m)index.gmi$` "atom.xml" | safeHTML }} {{ emojify ":link:" | safeHTML }} Atom Feed + +## List +{{- range .Data.Pages }} => {{ .RelPermalink }} {{ emojify ":link:" | safeHTML }} {{ .Title | safeHTML }} - {{- end }} +{{- end }} {{- end }} |