weeks can be breaks

This commit is contained in:
j 2025-01-31 16:29:27 +05:30
commit 92460179f5
5 changed files with 57 additions and 12 deletions

View file

@ -5,9 +5,17 @@
{% endblock %}
{% block content %}
<div class="index">
{% for item in items %}
{% include "listitem.html" with item=item %}
{% endfor %}
{% if break %}
<div class="break">
<div>
{{ break.break_notice | safe }}
</div>
</div>
{% else %}
{% for item in items %}
{% include "listitem.html" with item=item %}
{% endfor %}
{% endif %}
{% if archive %}
<div class="archive">
<a href="{{ archive }}">previous weeks</a>