2
0
mirror of https://expo.survex.com/repositories/troggle/.git synced 2024-11-22 07:11:52 +00: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 year %}
{% firstof year as current_year %}
{% else %}
{% firstof "2024" as current_year %}
{% endif %}
<div id="menu">
<ul id="menulinks">
<li><a href="/index.htm">Home</a></li>
@ -35,10 +40,10 @@
<li><a href="/infodx.htm">Site index</a></li>
<li><a href="/pubs.htm">Reports</a></li>
{% if year %}
<ul><li><a href="/years/{{ year }}">{{ year }}</a></li></ul>
<ul><li><a href="/years/{{current_year}}">{{ year }}</a></li></ul>
{% endif %}
<!--<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><form name=P method=get action="/search" target="_top">