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"> <section class="container">
{% for page in pages %} {% for page in pages %}
{% ifchanged %} {% 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> <h3 id="{{ page.date|date:'Y-m' }}" class="date-header">{{ page.date|date:"Y-m" }}</h3>
</time> </time>
{% endifchanged %} {% endifchanged %}
{% include "common/listing-item.html" %} {% include "common/listing-item.html" %}
{% endfor %} {% endfor %}
</section> </section>
{% if pages.has_other_pages %} {% if pages.has_other_pages %}
<section class="container"> <section class="container">
<hr class="my-5" /> <hr class="my-5" />
{% include "common/pagination.html" %} {% include "common/pagination.html" %}
</section> </section>
{% endif %} {% endif %}
{% endblock %} {% endblock %}