center week title
This commit is contained in:
parent
acf4764ca0
commit
c063e7cebc
2 changed files with 5 additions and 1 deletions
|
@ -116,3 +116,7 @@ nav.overlay {
|
|||
padding: 8px;
|
||||
opacity: 0.8;
|
||||
}
|
||||
|
||||
h2.week {
|
||||
text-align: center;
|
||||
}
|
||||
|
|
|
@ -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 %}
|
||||
|
|
Loading…
Reference in a new issue