1
0
Fork 0
forked from github/pelican

Fix translation feature. Add translation support to the notmyidea theme.

This commit is contained in:
Alexis Metaireau 2011-01-05 16:22:52 +01:00
commit 79576f25b6
9 changed files with 33 additions and 40 deletions

View file

@ -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: