summaryrefslogtreecommitdiff
path: root/template
diff options
context:
space:
mode:
authorFlorian Dold <florian@dold.me>2021-05-07 18:13:28 +0200
committerFlorian Dold <florian@dold.me>2021-05-07 18:13:28 +0200
commit64621c684c9453996f0d8eacf357cdd2fdf6d34c (patch)
tree5453ac86e8754abbc58c0514c27af030492caf41 /template
parent66c705567234ea566d93fb0d59a5872eb12ac826 (diff)
downloadwww-64621c684c9453996f0d8eacf357cdd2fdf6d34c.tar.gz
www-64621c684c9453996f0d8eacf357cdd2fdf6d34c.tar.bz2
www-64621c684c9453996f0d8eacf357cdd2fdf6d34c.zip
rss fixes
Diffstat (limited to 'template')
-rw-r--r--template/rss.xml.j28
1 files changed, 4 insertions, 4 deletions
diff --git a/template/rss.xml.j2 b/template/rss.xml.j2
index 9b58fb7a..3ffe6d38 100644
--- 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>