40 lines
1.3 KiB
HTML
40 lines
1.3 KiB
HTML
<!DOCTYPE html>
|
|
<html lang="en">
|
|
<head>
|
|
<meta charset="utf-8">
|
|
<title>{% if title %}{{ title }} | {% endif %}Upcoming Chaos Events</title>
|
|
<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>
|
|
{% for section_title, section_events in sections.items() %}
|
|
<section>
|
|
<h2>{{ section_title }}</h2>
|
|
</section>
|
|
{% for event in section_events %}
|
|
<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 %}
|
|
<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>
|
|
</div>
|
|
</body>
|