summaryrefslogtreecommitdiff
path: root/panfry/document.py
diff options
context:
space:
mode:
Diffstat (limited to 'panfry/document.py')
-rwxr-xr-xpanfry/document.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/panfry/document.py b/panfry/document.py
index 5ff7ee6..7bb06b4 100755
--- a/panfry/document.py
+++ b/panfry/document.py
@@ -146,7 +146,7 @@ class Document:
doc.add_argument('toc')
doc.add_argument('template=%s' % template_file.name)
doc.add_argument('css=%s' % self.css_file)
- doc.markdown = page.source
+ doc.markdown = '%s\n%s' % (self.meta['HEADER'], page.source)
content = doc.html
write_file(os.path.join(pub_path, page.htmlfile),
unicode(content, 'utf-8'))