phantasmobile/app/templates/archive.html
2023-08-20 21:14:23 +02:00

17 lines
448 B
HTML

{% extends "base.html" %}
{% block content %}
<div class="index">
{% for item in items %}
{% ifchanged item.week %}
<h2 class="week">{{ item.year }} week {{ item.week }}</h2>
{% endifchanged %}
{% include "listitem.html" with item=item %}
{% endfor %}
{% if archive %}
<div class="archive">
<a href="{{ archive }}">previous weeks</a>
</div>
{% endif %}
</div>
{% endblock %}