mirror of
https://github.com/getpelican/pelican.git
synced 2025-10-15 20:28:56 +02:00
Update the documentations and fix some little things about the translation feature.
This commit is contained in:
parent
8f59649eb6
commit
750e211649
4 changed files with 14 additions and 1 deletions
|
|
@ -22,7 +22,7 @@ class Page(object):
|
|||
if 'AUTHOR' in settings:
|
||||
self.author = settings['AUTHOR']
|
||||
|
||||
default_lang = settings.get('DEFAULT_LANG', 'en').lower()
|
||||
default_lang = settings.get('DEFAULT_LANG').lower()
|
||||
if not hasattr(self, 'lang'):
|
||||
self.lang = default_lang
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue