From 74a1a08e60bc44623f2f52738a7e4afe7074e15f Mon Sep 17 00:00:00 2001 From: Phuoc CAO Date: Wed, 11 Jan 2023 09:51:44 +0100 Subject: [PATCH] activities block moved to top of home page --- cao_blogr/templates/home.jinja2 | 59 ++++++++++++++++----------------- 1 file changed, 29 insertions(+), 30 deletions(-) diff --git a/cao_blogr/templates/home.jinja2 b/cao_blogr/templates/home.jinja2 index 428be67..b94c923 100644 --- a/cao_blogr/templates/home.jinja2 +++ b/cao_blogr/templates/home.jinja2 @@ -62,6 +62,35 @@ + + {{ activities | safe }} + {% if request.authenticated_userid %} +
Modifier les activités
+ {% endif %} + + +
+
+
PAGES RECENTES - CÁC BÀI MỚI
+ + + {% for entry in last_ten %} + + + + + {% if entry.status == 'brouillon' %} + + {% else %} + + {% endif %} + + + {% endfor %} +
{{ entry.created.strftime("%d.%m.%Y") }} + {{ entry.title }} + {{ entry.author }}{{ entry.status }}
+
@@ -101,36 +130,6 @@
- - {{ activities | safe }} - {% if request.authenticated_userid %} -
Modifier les activités
- {% endif %} - - -
-
-
PAGES RECENTES - CÁC BÀI MỚI
- - - {% for entry in last_ten %} - - - - - {% if entry.status == 'brouillon' %} - - {% else %} - - {% endif %} - - - {% endfor %} -
{{ entry.created.strftime("%d.%m.%Y") }} - {{ entry.title }} - {{ entry.author }}{{ entry.status }}
-
-