From feb258df10acfa7ed1e356c0cd33c4ab3db3c7a4 Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Sat, 4 Jul 2020 22:21:46 +0200 Subject: try to fix 'read more' issue --- news/index.html.j2 | 22 ++++++++++++++++++---- 1 file changed, 18 insertions(+), 4 deletions(-) (limited to 'news/index.html.j2') diff --git a/news/index.html.j2 b/news/index.html.j2 index cffcaf98..207fa801 100644 --- a/news/index.html.j2 +++ b/news/index.html.j2 @@ -1,6 +1,5 @@ {% extends "common/base.j2" %} {% block body_content %} - {% import 'inc/news.macro.j2' as news %}
@@ -9,8 +8,12 @@

{{ _("News") }}

- News posts published by Taler about changes related to - GNUnet, releases, and events – subscribe to our RSS feed + {% trans %} + News posts about changes related to + GNU Taler such as releases and events + {% endtrans %} + – + {{ _("subscribe to our RSS feed") }}

@@ -18,7 +21,18 @@
{% for item in newsdata %}
- {{ news.newspreview(item) }} +
+
+

{{ item['title']|e }}

+

+ {{ item['date'] }} +

+
+

+ {{ item['abstract'] }}
+ [{{ _("read more") }}] +

+
{% endfor %}
-- cgit v1.2.3