mirror of
https://github.com/getpelican/pelican.git
synced 2025-10-15 20:28:56 +02:00
Add a way to output pages as well.
This commit is contained in:
parent
259eb1571d
commit
340ddf4aa8
5 changed files with 109 additions and 45 deletions
|
|
@ -8,7 +8,7 @@ class Page(object):
|
|||
:param string: the string to parse, containing the original content.
|
||||
:param markup: the markup language to use while parsing.
|
||||
"""
|
||||
mandatory_properties = ('title')
|
||||
mandatory_properties = ('title',)
|
||||
|
||||
def __init__(self, content, metadatas={}, settings={}):
|
||||
self.content = content
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue