Skip to content
Snippets Groups Projects
Verified Commit c9934718 authored by Jake's avatar Jake
Browse files

fixed crashing on linking to nonexisting pages

parent 675339d8
No related branches found
No related tags found
No related merge requests found
......@@ -98,6 +98,10 @@ class Page:
self._config = None
self._factories = factories
self.initialized = False
self.status = "uninitialized"
self.title = "N/A"
self._metadata = {}
self.content = []
def init(self, filename, subpath, raw, metadata, content, title, category, date_created, date_modified, authors, last_modification_author, status):
self.initialized = True
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment