forked from github/pelican
Fix translation feature. Add translation support to the notmyidea theme.
This commit is contained in:
parent
2f6300af46
commit
79576f25b6
9 changed files with 33 additions and 40 deletions
|
|
@ -16,7 +16,7 @@ class Page(object):
|
|||
|
||||
self.status = "published" # default value
|
||||
for key, value in metadatas.items():
|
||||
setattr(self, key, value)
|
||||
setattr(self, key.lower(), value)
|
||||
|
||||
if not hasattr(self, 'author'):
|
||||
if 'AUTHOR' in settings:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue