From 78bc7323e9b1c34f74f2c1c59d1333820cedb4f1 Mon Sep 17 00:00:00 2001 From: Philip Sargent Date: Sat, 20 Jul 2024 13:52:39 +0200 Subject: [PATCH] fix YEAR separate for title banner and for current_year beging investigated --- templates/base.html | 10 ++++++---- templates/menu.html | 5 +++-- 2 files changed, 9 insertions(+), 6 deletions(-) diff --git a/templates/base.html b/templates/base.html index 7e7cdf8..62d1685 100644 --- a/templates/base.html +++ b/templates/base.html @@ -11,15 +11,17 @@ {% if year %} -{% firstof year as current_year %} +{% firstof year as current_year %} {% else %} -{% firstof "2024" as current_year %} +{% now "Y" as current_year %} {% endif %} +{% now "Y" as now_year %} +