diff --git a/lightweight/templates/archives.html b/lightweight/templates/archives.html index 4d6234f..8f8a8a5 100644 --- a/lightweight/templates/archives.html +++ b/lightweight/templates/archives.html @@ -12,7 +12,7 @@ {% for article in dates %} - {{ article.date.strftime(DEFAULT_DATE_FORMAT or '%a %d %B %Y') }} + {{ article.date.locale_date }} {{ article.title }} {% endfor %} diff --git a/lightweight/templates/meta.html b/lightweight/templates/meta.html index 14257bd..db29579 100644 --- a/lightweight/templates/meta.html +++ b/lightweight/templates/meta.html @@ -1,5 +1,5 @@
- Publié le + Publié le {% if article.author %} par {{ article.author }}{% endif %} dans «{{ article.category }}». {% if article.tags %}Mots-clés: {% for tag in article.tags %}{%if loop.index > 1%}, {%endif%}{{ tag }}{% endfor %}

{% endif %}