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

21 lines
623 B
HTML
Raw Normal View History

2021-02-06 17:08:07 +01:00
{% 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() %}
2021-02-06 17:08:07 +01:00
<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>
2021-02-06 17:08:07 +01:00
</div>
{% endfor%}
{% endblock %}