commit 64621c684c9453996f0d8eacf357cdd2fdf6d34c parent 66c705567234ea566d93fb0d59a5872eb12ac826 Author: Florian Dold <florian@dold.me> Date: Fri, 7 May 2021 18:13:28 +0200 rss fixes Diffstat:
| M | template/rss.xml.j2 | | | 8 | ++++---- |
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/template/rss.xml.j2 b/template/rss.xml.j2 @@ -21,16 +21,16 @@ <?xml version="1.0" encoding="UTF-8"?> <rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"> <channel> - <atom:link href="https://{{ siteconf['baseurl'] }}/{{ lang }}/rss.xml" rel="self" type="application/rss+xml" /> + <atom:link href="{{ siteconf['baseurl'] }}{{ lang }}/rss.xml" rel="self" type="application/rss+xml" /> <title>{{ siteconf['rsstitle'] }}</title> <language>{{ lang }}</language> <description>{{ siteconf['rssdescr']|e }}</description> - <link>https://{{ siteconf['baseurl'] }}/</link> + <link>{{ siteconf['baseurl'] }}/</link> <lastBuildDate>{{ now }}</lastBuildDate> {% for newspostitem in newsposts %} <item> - <guid>https://{{ siteconf['baseurl'] }}/{{ lang }}{{ siteconf['newsloc'] }}{{ newspostitem['page'] }}</guid> - <link>https://{{ siteconf['baseurl'] }}/{{ lang }}{{ siteconf['newsloc'] }}{{ newspostitem['page'] }}</link> + <guid>{{ siteconf['baseurl'] }}{{ lang }}{{ siteconf['newsloc'] }}{{ newspostitem['page'] }}</guid> + <link>{{ siteconf['baseurl'] }}{{ lang }}{{ siteconf['newsloc'] }}{{ newspostitem['page'] }}</link> <pubDate>{{ conv_date_rfc822(newspostitem["date"]) }}</pubDate> <title>{{ newspostitem['title']|e }}</title> <description>