chaosevents/templates/index.html

40 lines
1.3 KiB
HTML
Raw Normal View History

2023-06-13 12:30:20 +02:00
<!DOCTYPE html>
<html lang="en">
<head>
2023-06-13 18:32:49 +02:00
<meta charset="utf-8">
2024-02-17 18:10:46 +01:00
<title>{% if title %}{{ title }} | {% endif %}Upcoming Chaos Events</title>
2023-06-13 12:30:20 +02:00
<link rel="stylesheet" href="/style.css">
</head>
<body>
<div class="container">
<header>
<h1>Chaos Events</h1>
<div>
<a href="/chaosevents.ics">Add to calendar</a> | <a href="mailto:chaosevents@clerie.de"> Event missing?</a>
</div>
</header>
2024-02-17 17:42:38 +01:00
{% for section_title, section_events in sections.items() %}
2023-06-13 12:30:20 +02:00
<section>
2024-02-17 17:42:38 +01:00
<h2>{{ section_title }}</h2>
2023-06-13 12:30:20 +02:00
</section>
2024-02-17 17:42:38 +01:00
{% for event in section_events %}
2023-06-13 12:30:20 +02:00
<section>
<h3>{{ event.name }} <span class="date">{{ event.begin.format("YYYY-MM-DD") }} - {{ event.end.shift(seconds=-1).format("YYYY-MM-DD") }}</span></h3>
<div class="description">
{{ event.description_rendered|safe }}
</div>
</section>
{% endfor %}
{% endfor %}
2024-02-17 18:10:46 +01:00
<section class="years-index">
<a href="/">Upcoming</a>
{% for year in years_index %}
| <a href="/year/{{ year }}/">{{ year }}</a>
{% endfor %}
</section>
2023-06-13 12:30:20 +02:00
<footer>
2024-01-08 16:52:17 +01:00
<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>
2023-06-13 12:30:20 +02:00
</footer>
</div>
</body>