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
|
|
@ -115,7 +115,7 @@ class Writer(object):
|
|||
context[i] = self.update_context_contents(name, context[i])
|
||||
|
||||
elif type(context[i]) == dict:
|
||||
context[i] = self.update_context_content(name, context[i].values())
|
||||
context[i] = self.update_context_contents(name, context[i].values())
|
||||
|
||||
elif hasattr(context[i], '_content'):
|
||||
relative_path = get_relative_path(name)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue