From 9a6e7c57484e16bdd3f4aa917e6489048fb242d0 Mon Sep 17 00:00:00 2001 From: Florian Dold Date: Thu, 6 May 2021 16:01:32 +0200 Subject: simplify structure --- template/news/index.html.j2 | 42 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 42 insertions(+) create mode 100644 template/news/index.html.j2 (limited to 'template/news/index.html.j2') diff --git a/template/news/index.html.j2 b/template/news/index.html.j2 new file mode 100644 index 00000000..207fa801 --- /dev/null +++ b/template/news/index.html.j2 @@ -0,0 +1,42 @@ +{% extends "common/base.j2" %} +{% block body_content %} +
+
+
+
+
+

{{ _("News") }}

+
+

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

+
+
+
+
+ {% for item in newsdata %} +
+
+
+

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

+

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

+
+

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

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