Add a way to output pages as well.

This commit is contained in:
Alexis Metaireau 2010-10-30 20:17:23 +01:00
commit 340ddf4aa8
5 changed files with 109 additions and 45 deletions

View file

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