diff options
Diffstat (limited to 'mansrht/blueprints/html.py')
-rw-r--r-- | mansrht/blueprints/html.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/mansrht/blueprints/html.py b/mansrht/blueprints/html.py index a39c6fe..2b93c4a 100644 --- a/mansrht/blueprints/html.py +++ b/mansrht/blueprints/html.py @@ -60,6 +60,7 @@ def content(repo, path, wiki=None, is_root=False, **kwargs): if blob.is_binary: abort(404) md = blob.data.decode() + frontmatter = dict() if md.startswith("---\n"): try: end = md.index("---\n\n", 1) |