Use correct heading tag for date subtitles

This commit is contained in:
Jake Howard 2024-01-05 16:17:12 +00:00
parent 166441b3e3
commit c8885d19d3
Signed by: jake
GPG key ID: 57AFB45680EDD477

View file

@ -11,11 +11,11 @@
<section class="container"> <section class="container">
{% for page in listing_pages %} {% for page in listing_pages %}
{% ifchanged %} {% ifchanged %}
<h3 id="date-{{ page.date|date:'Y-m' }}" class="date-header"> <h2 id="date-{{ page.date|date:'Y-m' }}" class="date-header">
<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' }}">
{{ page.date|date:"Y-m" }} {{ page.date|date:"Y-m" }}
</time> </time>
</h3> </h2>
{% endifchanged %} {% endifchanged %}
{% include "common/listing-item.html" %} {% include "common/listing-item.html" %}