From c993471825be3a84c12a6aba51adaf02e02c63d8 Mon Sep 17 00:00:00 2001
From: Jake <j.vondoemming@stud.uni-goettingen.de>
Date: Mon, 3 Oct 2022 00:44:15 +0200
Subject: [PATCH] fixed crashing on linking to nonexisting pages

---
 fgs/datatypes.py | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/fgs/datatypes.py b/fgs/datatypes.py
index adc77af..1aab58a 100644
--- a/fgs/datatypes.py
+++ b/fgs/datatypes.py
@@ -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
-- 
GitLab