Skip to content
Snippets Groups Projects
Verified Commit c9934718 authored by Jake's avatar Jake :speech_balloon:
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: ...@@ -98,6 +98,10 @@ class Page:
self._config = None self._config = None
self._factories = factories self._factories = factories
self.initialized = False 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): def init(self, filename, subpath, raw, metadata, content, title, category, date_created, date_modified, authors, last_modification_author, status):
self.initialized = True self.initialized = True
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment