Fix identation and missing trans

This commit is contained in:
Alexandre Vicenzi 2020-04-20 23:36:36 +02:00
parent 6b87efa507
commit 533bc1760e
7 changed files with 54 additions and 34 deletions

View file

@ -1,4 +1,5 @@
{% extends "base.html" %}
{% block title %} – {{ _('Archives') }}{% endblock %}
{% block content %}
@ -9,12 +10,16 @@
<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>
<dt>{{ article.locale_date }}</dt>
{% endif %}
<dd><a href="{{ SITEURL }}/{{ article.url }}">{{ article.title }}</a></dd>
<dd>
<a href="{{ SITEURL }}/{{ article.url }}">{{ article.title }}</a>
</dd>
{% endfor %}
</dl>
</div>