From 4cbac6b896598e28361da89677a46137b5518701 Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Sat, 31 Oct 2020 20:14:07 +0100 Subject: make news visible in a way RMS likes --- template/index.html.j2 | 23 +++++++++++++++-------- 1 file changed, 15 insertions(+), 8 deletions(-) (limited to 'template') diff --git a/template/index.html.j2 b/template/index.html.j2 index 2598536c..1c55d09d 100644 --- a/template/index.html.j2 +++ b/template/index.html.j2 @@ -8,14 +8,6 @@ -
-
- {% for item in newsdata[:1] %} - {{ item['date'] }}: {{ item['title'] }} - {% endfor %} -
-
-
@@ -55,6 +47,21 @@ + +
+
+
+ + {% for item in newsdata[:3] %} + + {% endfor %} +
+ + {% endblock body_content %} -- cgit v1.2.3