17 lines
448 B
HTML
17 lines
448 B
HTML
{% extends "base.html" %}
|
|
{% block content %}
|
|
<div class="index">
|
|
{% 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 %}
|
|
|