week titles

This commit is contained in:
j 2023-08-31 18:24:52 +01:00
commit bd6f03491c
5 changed files with 57 additions and 6 deletions

View file

@ -4,12 +4,10 @@
{% endblock %}
{% block content %}
<div class="index archive">
{% if week_title %}
<h2 class="week">{{ week_title }}</h2>
{% endif %}
{% for item in items %}
{% ifchanged item.week %}
{% comment %}
<h2 class="week">{{ item.year }} week {{ item.week }}</h2>
{% endcomment %}
{% endifchanged %}
{% include "listitem.html" with item=item %}
{% endfor %}
{% if archive %}