From 381a8bdc522f8a9be9d84c27ddacb0ab31a85009 Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Mon, 21 Jun 2021 20:56:32 +0200 Subject: fix rss renderer --- template/index.html.j2 | 2 +- template/news/index.html.j2 | 4 ++-- template/rss.xml.j2 | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) (limited to 'template') diff --git a/template/index.html.j2 b/template/index.html.j2 index a7a291f5..6f43bff2 100644 --- a/template/index.html.j2 +++ b/template/index.html.j2 @@ -57,7 +57,7 @@ {% for item in newsdata[:3] %}
- {{ item['date'] }}: {{ item['title'] }} + {{ item['date'] }}: {{ item['title'] }}
{% endfor %} diff --git a/template/news/index.html.j2 b/template/news/index.html.j2 index eb9edd6c..5c5cf284 100644 --- a/template/news/index.html.j2 +++ b/template/news/index.html.j2 @@ -32,8 +32,8 @@

- {{ get_abstract(item['page'], 500) }}
- [{{ _("read more") }}] + {{ get_abstract('news/' + item['page'], 500) }}
+ [{{ _("read more") }}]

diff --git a/template/rss.xml.j2 b/template/rss.xml.j2 index 3ffe6d38..482a0896 100644 --- a/template/rss.xml.j2 +++ b/template/rss.xml.j2 @@ -36,7 +36,7 @@ - {{ get_abstract(newspostitem['page'], 1000) }} + {{ get_abstract('news/' + newspostitem['page'], 1000) }} ]]> -- cgit v1.2.3