aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOscar Najera <hi@oscarnajera.com>2023-10-29 21:55:13 +0100
committerOscar Najera <hi@oscarnajera.com>2023-10-29 21:55:13 +0100
commit101bbe9ec5b1c19b586b7a33feb74751cdd9e7b9 (patch)
tree452f1759296797154674b053ce0289c51a297f41
parente0dba438b319a391a9db8fcb00edcde60d838e9f (diff)
downloadhugo-minimalist-theme-101bbe9ec5b1c19b586b7a33feb74751cdd9e7b9.tar.gz
hugo-minimalist-theme-101bbe9ec5b1c19b586b7a33feb74751cdd9e7b9.tar.bz2
hugo-minimalist-theme-101bbe9ec5b1c19b586b7a33feb74751cdd9e7b9.zip
[FIX] RSS feed link in a specific post
-rw-r--r--layouts/partials/footer.html5
1 files changed, 1 insertions, 4 deletions
diff --git a/layouts/partials/footer.html b/layouts/partials/footer.html
index 796859b..cc44278 100644
--- a/layouts/partials/footer.html
+++ b/layouts/partials/footer.html
@@ -1,10 +1,7 @@
<footer class="bg-black w-100 pa3 near-white">
<div class="mw7 center">
{{ if in .Site.Params.mainSections .Section }}
- <a
- href="{{ .RelPermalink }}index.xml"
- class="link color-inherit db tc mv2"
- >
+ <a href="/{{ .Section }}/index.xml" class="link color-inherit db tc mv2">
Follow {{ .Section }} updates via RSS feed
<i class="fa-solid fa-rss"></i>
</a>