diff options
Diffstat (limited to 'waterspill/templates')
-rw-r--r-- | waterspill/templates/archives.html | 2 | ||||
-rw-r--r-- | waterspill/templates/article.html | 2 | ||||
-rw-r--r-- | waterspill/templates/index.html | 4 |
3 files changed, 4 insertions, 4 deletions
diff --git a/waterspill/templates/archives.html b/waterspill/templates/archives.html index bd23243..e591706 100644 --- a/waterspill/templates/archives.html +++ b/waterspill/templates/archives.html @@ -6,7 +6,7 @@ <dl> <h2>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> {% endfor %} diff --git a/waterspill/templates/article.html b/waterspill/templates/article.html index cb1e314..975d441 100644 --- a/waterspill/templates/article.html +++ b/waterspill/templates/article.html @@ -6,7 +6,7 @@ <div class="blogItem"> <h2><a href="{{ SITEURL }}/{{ article.url }}">{{ article.title }}</a></h2> - <h3>Le {{ article.date.strftime('%a %d %B %Y') }}</h3> + <h3>Le {{ article.locale_date }}</h3> {{ article.content }} {% include 'twitter.html' %} diff --git a/waterspill/templates/index.html b/waterspill/templates/index.html index ae381bc..bbc6a1f 100644 --- a/waterspill/templates/index.html +++ b/waterspill/templates/index.html @@ -8,7 +8,7 @@ <div class="blogItem"> <h2><a href="{{ SITEURL }}/{{ article.url }}">{{ article.title }}</a></h2> - <h3>Le {{ article.date.strftime('%a %d %B %Y') }}</h3> + <h3>Le {{ article.locale_date }}</h3> {{ article.content }} @@ -28,7 +28,7 @@ <div class="blogItem"> <h2><a href="{{ SITEURL }}/{{ article.url }}">{{ article.title }}</a></h2> - <h3>Le {{ article.date.strftime('%a %d %B %Y') }}</h3> + <h3>Le {{ article.locale_date }}</h3> {{ article.summary }} <h3 class="blogMeta">Par <a href="#">{{ article.author }}</a>, Catégorie : <a href="{{ SITEURL }}/category/{{ article.category }}.html">{{ article.category }}</a></h3> |