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.html | |
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.html')
-rw-r--r-- | layouts/_default/taxonomy.html | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/layouts/_default/taxonomy.html b/layouts/_default/taxonomy.html index 566e6da..a3a22a7 100644 --- a/layouts/_default/taxonomy.html +++ b/layouts/_default/taxonomy.html @@ -3,7 +3,10 @@ <p>{{ emojify ":link:" | safeHTML }} <a class="link" href="/" rel="noreferrer">Return to homepage</a></p> </nav> <main> - <h1>All {{ .Type }}</h1> + <h1>{{ .Type | humanize }}</h1> + <h2>Feeds</h2> + <p><a class="link" href="{{ print .RelPermalink "atom.xml" }}" rel="noreferrer"> {{ emojify ":link:" | safeHTML }} Atom Feed</a></p> + <h2>List</h2> <ul class="list"> {{- range .Data.Pages }} <li class="list__item">{{ emojify ":link:" }} <a class="link" href="{{ .RelPermalink }}" rel="noreferrer">{{ .Title }}</a></li> |