phantasmobile/app/templates/archive.html
2023-08-21 11:24:53 +02:00

20 lines
527 B
HTML

{% extends "base.html" %}
{% block head %}
<title>{{ settings.SITENAME }}</title>
{% endblock %}
{% block content %}
<div class="index archive">
{% 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 %}