Making page templates autoadjust to the current year

This commit is contained in:
Philip Sargent
2022-10-15 21:28:56 +03:00
parent 55ac98ebe1
commit 830150ade6
4 changed files with 22 additions and 7 deletions

View File

@@ -13,9 +13,11 @@ traced to produce Tunnel or Therion drawings and eventually the final complete c
<p>See also wallets
<ul>
<li>per year, e.g. <a href="/wallets/year/2018">2018</a>, <a href="/wallets/year/2019">2019</a>, <a href="/wallets/year/2022">2022</a>
<li>per cave, e.g. <a href="/cave/scans/1623-161">1623-161</a>, <a href="/cave/scans/1626-359">1626-359</a>, <a href="/cave/scans/1623-290">1623-290</a>, <a href="/cave/scans/1623-291">1623-291</a>, <a href="/cave/scans/1623-264">1623-264</a>
</ul>
<li>per year:
{% for otherexpedition in expeditions %}
| <a <a href="/wallets/year/{{ otherexpedition.year }}">{{otherexpedition.year}}</a>
{% endfor %}</ul>
{% include 'wallet_table.html' %}
<br />