center week title

This commit is contained in:
j 2023-08-20 21:14:23 +02:00
parent acf4764ca0
commit c063e7cebc
2 changed files with 5 additions and 1 deletions

View file

@ -116,3 +116,7 @@ nav.overlay {
padding: 8px;
opacity: 0.8;
}
h2.week {
text-align: center;
}

View file

@ -3,7 +3,7 @@
<div class="index">
{% for item in items %}
{% ifchanged item.week %}
<h2>{{ item.year }} week {{ item.week }}</h2>
<h2 class="week">{{ item.year }} week {{ item.week }}</h2>
{% endifchanged %}
{% include "listitem.html" with item=item %}
{% endfor %}