flex/templates/period_archives.html
Fidel Ramos 1327164a2d
Add id attribute to archives and authors pages
This allows linking to these pages below the fold.
2019-10-19 20:22:39 +00:00

22 lines
606 B
HTML

{% extends "base.html" %}
{% block title %} – {{ _('Archives') }}{% endblock %}
{% block content %}
<article class="single">
<header>
<h1 id="archives">{{ _('Archives') }}</h1>
</header>
<div>
<dl>
{% set previous_date = False %}
{% for article in dates %}
{% if article.locale_date != previous_date %}
{% set previous_date = article.locale_date %}
<dt>{{ article.locale_date }}</dt>
{% endif %}
<dd><a href="{{ SITEURL }}/{{ article.url }}">{{ article.title }}</a></dd>
{% endfor %}
</dl>
</div>
</article>
{% endblock %}