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">
{% for page in listing_pages %}
{% 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' }}">
{{ page.date|date:"Y-m" }}
</time>
</h3>
</h2>
{% endifchanged %}
{% include "common/listing-item.html" %}