mirror of
https://github.com/getpelican/pelican.git
synced 2025-10-15 20:28:56 +02:00
fix it not setting the default locale
If LOCALE was not specified in the settings file it would default to [] insted of [''], where '' is used by locale.setlocale to mean the user's default locale.
This commit is contained in:
parent
3445066b11
commit
2ace30cdb0
1 changed files with 1 additions and 1 deletions
|
|
@ -90,7 +90,7 @@ DEFAULT_CONFIG = {
|
|||
'MD_EXTENSIONS': ['codehilite(css_class=highlight)', 'extra'],
|
||||
'JINJA_EXTENSIONS': [],
|
||||
'JINJA_FILTERS': {},
|
||||
'LOCALE': [], # defaults to user locale
|
||||
'LOCALE': [''], # defaults to user locale
|
||||
'DEFAULT_PAGINATION': False,
|
||||
'DEFAULT_ORPHANS': 0,
|
||||
'DEFAULT_METADATA': (),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue