weeks can be breaks
This commit is contained in:
parent
e44e8b3c35
commit
92460179f5
5 changed files with 57 additions and 12 deletions
|
|
@ -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>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue