From: Jer Noble <jer.noble@apple.com>
Date: Sun, 8 May 2022 04:22:34 +0000 (-0700)
Subject: Fix guid and link in feed
X-Git-Url: http://105106.c2e0p.group/pod.git/commitdiff_plain/afc3c661fd2919e6c0848c1bb8ad265f940f5adb

Fix guid and link in feed
---

diff --git a/sf/feed.xml b/sf/feed.xml
index dd92c6d..f339fc6 100644
--- a/sf/feed.xml
+++ b/sf/feed.xml
@@ -33,9 +33,9 @@ title: ""
         </itunes:category>
 {% for post in site.posts %}        <item>
             <title>{{ post.title | xml_escape }}</title>
-            <link>{{ site.podcast.url }}{{ post.url }}</link>
+            <link>{{ post.url | absolute_url }}</link>
             <description>{{ post.excerpt | xml_escape }}</description>
-            <guid isPermaLink="true">{{ site.podcast.url }}{{ post.url }}</guid>
+            <guid isPermaLink="true">{{ post.url | absolute_url }}</guid>
             <pubDate>{{ post.date | date_to_rfc822 }}</pubDate>
             <enclosure url="http:{{ post.file }}" length="{{ post.length }}" type="audio/mp3"/>
             <itunes:author>{{ site.podcast.author }}</itunes:author>