aboutsummaryrefslogtreecommitdiffstats
path: root/lightweight/templates
diff options
context:
space:
mode:
Diffstat (limited to 'lightweight/templates')
-rw-r--r--lightweight/templates/archives.html2
-rw-r--r--lightweight/templates/meta.html2
2 files changed, 2 insertions, 2 deletions
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 @@
</tr>
{% for article in dates %}
<tr>
- <td>{{ article.date.strftime(DEFAULT_DATE_FORMAT or '%a %d %B %Y') }}</td>
+ <td>{{ article.date.locale_date }}</td>
<td><a href='{{ article.url }}'>{{ article.title }}</a></td>
</tr>
{% 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 @@
<details class="meta">
- Publié le <time datetime="{{ article.date.isoformat() }}" pubdate="pubdate">{{ article.date.strftime(DEFAULT_DATE_FORMAT or '%a %d %B %Y') }}</time>
+ Publié le <time datetime="{{ article.date.isoformat() }}" pubdate="pubdate">{{ article.locale_date }}</time>
{% if article.author %} par {{ article.author }}{% endif %} dans «<a href="{{ SITEURL }}/category/{{ article.category }}.html">{{ article.category }}</a>».
{% if article.tags %}Mots-clés: {% for tag in article.tags %}{%if loop.index > 1%}, {%endif%}<a href="{{ SITEURL }}/tag/{{ tag }}.html">{{ tag }}</a>{% endfor %}</p>{% endif %}
</details>