Generation du frontend pour les evenements

This commit is contained in:
raida 2019-06-01 07:24:25 +02:00
parent baa5c49927
commit 322bb5bdec
3 changed files with 121 additions and 7 deletions

View file

@ -17,6 +17,11 @@
{% if mds %}
{% for md in mds %}
<article id="event-{{ md[0].strftime('%d-%m-%Y') }}-{{ md[1] }}">
<a class="previous" href="#events">Previous</a>
<h2 class="major">
{{ md[1] }}
<div class="date">{{ md[0].strftime('%a %d %b %Y') }}</div>
</h2>
{{ md[3] | safe }}
</article>
{% endfor %}