2
0
mirror of https://expo.survex.com/repositories/troggle/.git synced 2025-04-03 09:21:48 +01:00

update menu to show 2024 or whatever it can

This commit is contained in:
Philip Sargent 2024-03-15 13:55:40 +00:00
parent e2d7ab4416
commit 5523c7a484

View File

@ -1,4 +1,9 @@
{% if not homepage %} {% if not homepage %}
{% if year %}
{% firstof year as current_year %}
{% else %}
{% firstof "2024" as current_year %}
{% endif %}
<div id="menu"> <div id="menu">
<ul id="menulinks"> <ul id="menulinks">
<li><a href="/index.htm">Home</a></li> <li><a href="/index.htm">Home</a></li>
@ -35,10 +40,10 @@
<li><a href="/infodx.htm">Site index</a></li> <li><a href="/infodx.htm">Site index</a></li>
<li><a href="/pubs.htm">Reports</a></li> <li><a href="/pubs.htm">Reports</a></li>
{% if year %} {% if year %}
<ul><li><a href="/years/{{ year }}">{{ year }}</a></li></ul> <ul><li><a href="/years/{{current_year}}">{{ year }}</a></li></ul>
{% endif %} {% endif %}
<!--<li><a href="/guidebook/areas.htm">Areas</a></li>--> <!--<li><a href="/guidebook/areas.htm">Areas</a></li>-->
<li><a href="/expedition/2023">Troggle</a></li> <li><a href="/expedition/{{current_year}}">Troggle</a></li>
<li><a href="/handbook/troggle/training/trogbegin.html"><span style="color:red">Self-training</span></a></li> <li><a href="/handbook/troggle/training/trogbegin.html"><span style="color:red">Self-training</span></a></li>
<li><form name=P method=get action="/search" target="_top"> <li><form name=P method=get action="/search" target="_top">