Currently the blog links to index.xml on harelang.org, not on
harelang.org/blog. This results in all pages on harelang.org being
included, which is not the desired behaviour of a blog's rss-feed.
To remedy this, change index.xml to {{.RelPermalink}}/index.xml.
Signed-off-by: Enno Tensing <tenno@suij.in>
---
layouts/blog/section.html | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/layouts/blog/section.html b/layouts/blog/section.html
index ce76930..d373a33 100644
--- a/layouts/blog/section.html
+++ b/layouts/blog/section.html
@@ -12,7 +12,7 @@
{{ partial "nav.html" }}
<main>
<h2>The Hare programming language blog</h2>
- <p><a href="index.xml">RSS feed</a></p>
+ <p><a href="{{.RelPermalink}}/index.xml">RSS feed</a></p>
{{ range .Data.Pages }}
<div class="stub">
<h2>
--
2.43.0