aboutsummaryrefslogtreecommitdiffstats
path: root/lightweight
diff options
context:
space:
mode:
authorskami <skami@skami-laptop.dyndns.org>2011-02-16 16:15:00 +0100
committerskami <skami@skami-laptop.dyndns.org>2011-02-16 16:15:00 +0100
commit991a45e575e6c2ef369e810b5136bfc54a6e97b8 (patch)
tree984a05919e2048d4e2ee6574087982bd0ca211c2 /lightweight
parent57f7c27797148a73279cfd58ab4bdf748928c04a (diff)
downloadpelican-themes-991a45e575e6c2ef369e810b5136bfc54a6e97b8.zip
pelican-themes-991a45e575e6c2ef369e810b5136bfc54a6e97b8.tar.gz
pelican-themes-991a45e575e6c2ef369e810b5136bfc54a6e97b8.tar.bz2
Correction d'un bug de transcodage (utf8/ascii)
Diffstat (limited to 'lightweight')
-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>