Add index of events by year

This commit is contained in:
2024-02-17 18:10:46 +01:00
parent 4c64ecae24
commit ae351c9685
3 changed files with 37 additions and 4 deletions

View File

@@ -2,7 +2,7 @@
<html lang="en">
<head>
<meta charset="utf-8">
<title>Upcoming Chaos Events</title>
<title>{% if title %}{{ title }} | {% endif %}Upcoming Chaos Events</title>
<link rel="stylesheet" href="/style.css">
</head>
<body>
@@ -26,6 +26,12 @@
</section>
{% endfor %}
{% endfor %}
<section class="years-index">
<a href="/">Upcoming</a>
{% for year in years_index %}
| <a href="/year/{{ year }}/">{{ year }}</a>
{% endfor %}
</section>
<footer>
<a href="https://legal.clerie.de/impressum">Imprint</a> | <a href="https://legal.clerie.de/datenschutz">Privacy</a> | <a href="https://git.clerie.de/clerie/chaosevents">Source Code</a>
</footer>