1
0
Fork 0
forked from github/pelican

Changes about locales and dates.

Add a way to specify the locale in the settings, and the date formating as well.
Fixes #61.
This commit is contained in:
Alexis Metaireau 2011-02-01 21:44:50 +00:00
commit d13e6f14fb
16 changed files with 39 additions and 13 deletions

View file

@ -6,7 +6,7 @@
<dl>
<h2 class="title">Archives de {{ SITENAME }}</h2>
{% for article in dates %}
<dt>{{ article.date.strftime('%a %d %B %Y') }}</dt>
<dt>{{ article.locale_date }}</dt>
<dd><a href='{{ article.url }}'>{{ article.title }}</a></dd>
<dd>Catégorie : <a href="{{ article.category }}">{{ article.category }}</a></dd>
{% endfor %}