Forgotten to wrap the archives with a <section> tag
This commit is contained in:
@@ -3,28 +3,28 @@
|
||||
{% block content_title %}{{ SITENAME }} — Archives{% endblock %}
|
||||
|
||||
{%- block content %}
|
||||
<section id="page-content">
|
||||
<dl>
|
||||
{% for article in articles %}
|
||||
{% if loop.first or article.date.strftime('%Y %m') != articles[loop.index0-1].date.strftime('%Y %m') %}
|
||||
<dt>
|
||||
<h2>{{ article.date.strftime('%B %Y') }}</h2>
|
||||
<ul>
|
||||
{% endif %}
|
||||
|
||||
<li>
|
||||
<a rel="bookmark"
|
||||
href="{{ SITEURL }}/{{ article.url }}"
|
||||
title="Lien permanent vers «{{ article.title }}»">
|
||||
{{ article.title }}
|
||||
</a>
|
||||
</li>
|
||||
|
||||
<dl>
|
||||
{% for article in articles %}
|
||||
{% if loop.first or article.date.strftime('%Y %m') != articles[loop.index0-1].date.strftime('%Y %m') %}
|
||||
<dt>
|
||||
<h2>{{ article.date.strftime('%B %Y') }}</h2>
|
||||
<ul>
|
||||
{% endif %}
|
||||
|
||||
<li>
|
||||
<a rel="bookmark"
|
||||
href="{{ SITEURL }}/{{ article.url }}"
|
||||
title="Lien permanent vers «{{ article.title }}»">
|
||||
{{ article.title }}
|
||||
</a>
|
||||
</li>
|
||||
|
||||
{% if loop.last or article.date.strftime('%Y %m') != articles[loop.index0+1].date.strftime('%Y %m') %}
|
||||
</ul>
|
||||
</dt>
|
||||
{% endif %}
|
||||
{% endfor %}
|
||||
</dl>
|
||||
|
||||
{% if loop.last or article.date.strftime('%Y %m') != articles[loop.index0+1].date.strftime('%Y %m') %}
|
||||
</ul>
|
||||
</dt>
|
||||
{% endif %}
|
||||
{% endfor %}
|
||||
</dl>
|
||||
</section>
|
||||
{% endblock content -%}
|
||||
|
||||
Reference in New Issue
Block a user