summaryrefslogtreecommitdiff
path: root/themes/PaperMod/layouts/_default/list.html
diff options
context:
space:
mode:
authorChristoph Cullmann <cullmann@kde.org>2023-06-25 20:35:54 +0200
committerChristoph Cullmann <cullmann@kde.org>2023-06-25 20:35:59 +0200
commit1f149ab65e7ec7da6a0ec455b807c8d7cc4aae70 (patch)
treea641f63722836a17191f41d88eaee296e9b478a1 /themes/PaperMod/layouts/_default/list.html
parente7471bcb6fa081774a6bae50d2915d71fdaa4b8e (diff)
update the theme
Diffstat (limited to 'themes/PaperMod/layouts/_default/list.html')
-rw-r--r--themes/PaperMod/layouts/_default/list.html4
1 files changed, 3 insertions, 1 deletions
diff --git a/themes/PaperMod/layouts/_default/list.html b/themes/PaperMod/layouts/_default/list.html
index 3a6f316..9c5bc54 100644
--- a/themes/PaperMod/layouts/_default/list.html
+++ b/themes/PaperMod/layouts/_default/list.html
@@ -10,7 +10,8 @@
<h1>
{{ .Title }}
{{- if and (or (eq .Kind `term`) (eq .Kind `section`)) (.Param "ShowRssButtonInSectionTermList") }}
- <a href="index.xml" title="RSS" aria-label="RSS">
+ {{- with .OutputFormats.Get "rss" }}
+ <a href="{{ .RelPermalink }}" title="RSS" aria-label="RSS">
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"
stroke-linecap="round" stroke-linejoin="round" height="23">
<path d="M4 11a9 9 0 0 1 9 9" />
@@ -19,6 +20,7 @@
</svg>
</a>
{{- end }}
+ {{- end }}
</h1>
{{- if .Description }}
<div class="post-description">