mirror of
https://github.com/getpelican/pelican.git
synced 2025-10-15 20:28:56 +02:00
Fix a FAQ mistake.
This commit is contained in:
parent
5407be19cf
commit
32102dae12
4 changed files with 8 additions and 5 deletions
|
|
@ -12,6 +12,7 @@ class Page(object):
|
|||
|
||||
def __init__(self, content, metadatas={}, settings={}, filename=None):
|
||||
self.content = content
|
||||
self.status = "published" # default value
|
||||
for key, value in metadatas.items():
|
||||
setattr(self, key, value)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue