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

14 lines
332 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 title, text in events.items() %}
<div class="event">
<h2>{{ title }}</h2>
{{ text|safe }}
</div>
{% endfor%}
{% endblock %}