phantasmobile/app/templates/archive.html

18 lines
435 B
HTML
Raw Normal View History

2023-07-15 07:30:36 +00:00
{% extends "base.html" %}
{% block content %}
2023-08-20 19:12:51 +00:00
<div class="index">
2023-07-15 07:30:36 +00:00
{% for item in items %}
2023-08-16 15:58:28 +00:00
{% ifchanged item.week %}
<h2>{{ item.year }} week {{ item.week }}</h2>
{% endifchanged %}
2023-07-16 05:56:14 +00:00
{% include "listitem.html" with item=item %}
2023-07-15 07:30:36 +00:00
{% endfor %}
2023-08-20 19:12:51 +00:00
{% if archive %}
<div class="archive">
<a href="{{ archive }}">previous weeks</a>
</div>
{% endif %}
</div>
2023-07-15 07:30:36 +00:00
{% endblock %}