From: Duje Mihanović <duje.mihanovic@skole.hr>
Date: Mon, 26 Aug 2024 10:06:07 +0000 (+0200)
Subject: Use absolute link in feed
X-Git-Url: http://git.dujemihanovic.xyz/html/static/%7B%7B%20%24.Site.BaseURL%20%7D%7Dposts/%7B%7B?a=commitdiff_plain;h=db536f80f60a3be10f8d631a52db03ef3e7789e7;p=hugo-skeleton.git

Use absolute link in feed
---

diff --git a/layouts/rss.xml b/layouts/rss.xml
index 0c388a7..baf68a7 100644
--- a/layouts/rss.xml
+++ b/layouts/rss.xml
@@ -24,7 +24,7 @@
 	{{ range first .Site.Config.Services.RSS.Limit .Pages }}
 	<entry>
 		<id>{{ .Permalink }}</id>
-		<link rel="alternate" href="{{ .RelPermalink }}"/>
+		<link rel="alternate" href="{{ .Permalink }}"/>
 		<title>{{ .Title }}</title>
 		<updated>{{ .Lastmod.Format "2006-01-02T15:04:05Z" }}</updated>
 		<published>{{ .PublishDate.Format "2006-01-02T15:04:05Z" }}</published>