mirror of
https://github.com/getpelican/pelican.git
synced 2025-10-15 20:28:56 +02:00
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:
parent
3070c8fc9e
commit
d13e6f14fb
16 changed files with 39 additions and 13 deletions
|
|
@ -4,7 +4,7 @@
|
|||
|
||||
<dl>
|
||||
{% for article in dates %}
|
||||
<dt>{{ article.date.strftime('%Y-%m-%d %H:%M') }}</dt>
|
||||
<dt>{{ article.locale_date }}</dt>
|
||||
<dd><a href='{{ article.url }}'>{{ article.title }}</a></dd>
|
||||
{% endfor %}
|
||||
</dl>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue