~sircmpwn/hare-dev

harelang.org: blog: Fix link to rss-feed v1 APPLIED

Enno Tensing: 1
 blog: Fix link to rss-feed

 1 files changed, 1 insertions(+), 1 deletions(-)
#1146581 .build.yml failed
Export patchset (mbox)
How do I use this?

Copy & paste the following snippet into your terminal to import this patchset into git:

curl -s https://lists.sr.ht/~sircmpwn/hare-dev/patches/49326/mbox | git am -3
Learn more about email & git

[PATCH harelang.org] blog: Fix link to rss-feed Export this patch

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
harelang.org/patches/.build.yml: FAILED in 2s

[blog: Fix link to rss-feed][0] from [Enno Tensing][1]

[0]: https://lists.sr.ht/~sircmpwn/hare-dev/patches/49326
[1]: mailto:tenno@suij.in

✗ #1146581 FAILED harelang.org/patches/.build.yml https://builds.sr.ht/~sircmpwn/job/1146581
thanks!

to git@git.sr.ht:~sircmpwn/harelang.org
  b9b3b7b..d1c52e8  master -> master