week titles
This commit is contained in:
parent
92f21cc859
commit
bd6f03491c
5 changed files with 57 additions and 6 deletions
|
|
@ -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 %}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue