RSS: Fix empty GUID field
authorMichael Tremer <michael.tremer@ipfire.org>
Tue, 18 Aug 2020 14:58:46 +0000 (14:58 +0000)
committerMichael Tremer <michael.tremer@ipfire.org>
Tue, 18 Aug 2020 14:58:46 +0000 (14:58 +0000)
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
src/templates/blog/feed.xml

index 82c239b..1796d3d 100644 (file)
@@ -36,7 +36,7 @@
                                        <author>{{ post.author }}</author>
                                {% end %}
                                <pubDate>{{ post.published_at.strftime("%a, %d %b %Y %H:%M:%S +0200") }}</pubDate>
-                               <guid isPermaLink="false"></guid>
+                               <guid isPermaLink="true">https://blog.ipfire.org/post/{{ post.slug }}</guid>
                                <description><![CDATA[{% raw post.html %}]]></description>
                        </item>
                {% end %}