varia-library-website/library/templates/pastevents.html

21 lines
623 B
HTML

{% extends "base.html" %}
{% block main %}
<div id="nav" class="container">
<button id="leftmostbtn"><a href="/">All books</a></button>
<button><a href="/upload">Upload</a></button>
</div>
{% for eventtitle, text in events.items() %}
<div class="event">
<h2>{{ eventtitle }}</h2>
{{ text[0]|safe }}
<hr>
<p>For those interested in this read and repair event the physical library at varia offers the following books.</p>
<ul>
{% for link, booktitle in text[1].items() %}
<li><a href="/{{ link }}">{{ booktitle }}</a></li>
{% endfor%}
</ul>
</div>
{% endfor%}
{% endblock %}