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
1 changed files with 2 additions and 2 deletions

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" %}