forked from github/pelican
Make these patches compatible with upstream master
This commit is contained in:
parent
9ba55c28b4
commit
c5816c9c5a
2 changed files with 2 additions and 2 deletions
|
|
@ -98,7 +98,7 @@ class Page(object):
|
|||
return {
|
||||
'slug': getattr(self, 'slug', ''),
|
||||
'lang': getattr(self, 'lang', 'en'),
|
||||
'date': getattr(self, 'date', datetime.now()),
|
||||
'date': getattr(self, 'date', datetime.datetime.now()),
|
||||
'author': self.author,
|
||||
'category': getattr(self, 'category', 'misc'),
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue