From d810bc1d1e3e8140ba1a0a2ca65780543cbb56fb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20P=C3=A9ters?= Date: Thu, 28 Dec 2017 10:53:55 +0100 Subject: [PATCH] replace blurps by hobo template variables (#16027) --- templates/footer.html | 5 +---- templates/header.html | 5 +---- templates/navigation.html | 3 --- templates/right-col.html | 22 +++++++--------------- templates/theme.html | 17 ++++------------- update-vincennes-content.py | 20 ++++++++++++-------- 6 files changed, 25 insertions(+), 47 deletions(-) diff --git a/templates/footer.html b/templates/footer.html index 2090037..36e4f17 100644 --- a/templates/footer.html +++ b/templates/footer.html @@ -1,4 +1,3 @@ -{% load blurp_tags %}
@@ -20,11 +19,9 @@
diff --git a/templates/header.html b/templates/header.html index dd35352..a17a383 100644 --- a/templates/header.html +++ b/templates/header.html @@ -1,4 +1,3 @@ -{% load blurp_tags %} diff --git a/templates/navigation.html b/templates/navigation.html index de65c2d..d1f7f80 100644 --- a/templates/navigation.html +++ b/templates/navigation.html @@ -1,5 +1,3 @@ -{% load blurp_tags %} -{% blurp "menu" %} -{% endblurp %} diff --git a/templates/right-col.html b/templates/right-col.html index eb72f6b..08a9dd7 100644 --- a/templates/right-col.html +++ b/templates/right-col.html @@ -1,5 +1,3 @@ -{% load blurp_tags %} -{% blurp "agenda" %}
@@ -11,7 +9,7 @@
- {% for item in menu %} + {% for item in agenda %}

{{ item.title }}

{{ item.date }}

@@ -26,8 +24,7 @@
-{% endblurp %} -{% blurp "actualites" %} +
-{% blurp "magazine" %} - - + + -{% endblurp %} -{% blurp "autopromo" %} - - + + -{% endblurp %}
diff --git a/templates/theme.html b/templates/theme.html index 969b7d9..2ac9380 100644 --- a/templates/theme.html +++ b/templates/theme.html @@ -45,7 +45,6 @@
Portail citoyen
-{% load blurp_tags %}