From 5523c7a4840460857954819c8ae2b09c12103877 Mon Sep 17 00:00:00 2001 From: Philip Sargent Date: Fri, 15 Mar 2024 13:55:40 +0000 Subject: [PATCH] update menu to show 2024 or whatever it can --- templates/menu.html | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/templates/menu.html b/templates/menu.html index 96525c12c..6728abe28 100644 --- a/templates/menu.html +++ b/templates/menu.html @@ -1,4 +1,9 @@ {% if not homepage %} +{% if year %} +{% firstof year as current_year %} +{% else %} +{% firstof "2024" as current_year %} +{% endif %}