Fix indenting of time titles

This commit is contained in:
Jake Howard 2022-08-27 11:09:41 +01:00
parent d2e1cde927
commit 655d3a484e
Signed by: jake
GPG key ID: 57AFB45680EDD477

View file

@ -15,19 +15,19 @@
<section class="container">
{% for page in pages %}
{% ifchanged %}
<time datetime="{{ page.date|date:'Y-m' }} title='{{ page.date|date:"F Y" }}'>
<time datetime="{{ page.date|date:'Y-m' }}" title='{{ page.date|date:"F Y" }}'>
<h3 id="{{ page.date|date:'Y-m' }}" class="date-header">{{ page.date|date:"Y-m" }}</h3>
</time>
</time>
{% endifchanged %}
{% include "common/listing-item.html" %}
{% endfor %}
</section>
</section>
{% if pages.has_other_pages %}
<section class="container">
<hr class="my-5" />
{% include "common/pagination.html" %}
</section>
{% endif %}
{% if pages.has_other_pages %}
<section class="container">
<hr class="my-5" />
{% include "common/pagination.html" %}
</section>
{% endif %}
{% endblock %}