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;
|
padding: 8px;
|
||||||
opacity: 0.8;
|
opacity: 0.8;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
h2.week {
|
||||||
|
text-align: center;
|
||||||
|
}
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
<div class="index">
|
<div class="index">
|
||||||
{% for item in items %}
|
{% for item in items %}
|
||||||
{% ifchanged item.week %}
|
{% ifchanged item.week %}
|
||||||
<h2>{{ item.year }} week {{ item.week }}</h2>
|
<h2 class="week">{{ item.year }} week {{ item.week }}</h2>
|
||||||
{% endifchanged %}
|
{% endifchanged %}
|
||||||
{% include "listitem.html" with item=item %}
|
{% include "listitem.html" with item=item %}
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
|
|
Loading…
Reference in a new issue