]> id.pley.net Git - pod.git/commitdiff
Fix guid and link in feed
authorJer Noble <jer.noble@apple.com>
Sun, 8 May 2022 04:22:34 +0000 (21:22 -0700)
committerJer Noble <jer.noble@apple.com>
Sun, 8 May 2022 04:22:34 +0000 (21:22 -0700)
sf/feed.xml

index dd92c6dda30d00f1972076e46c5da3ba8174e48b..f339fc699038472fb144ea6f0980d21ceefa6b80 100644 (file)
@@ -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>