re-route settings urls

This commit is contained in:
Jakob Ketterl
2021-02-13 16:44:14 +01:00
parent ae76470612
commit cda43b5c5c
10 changed files with 55 additions and 41 deletions

View File

@@ -18,8 +18,11 @@ class TemplateController(Controller):
class WebpageController(TemplateController):
def header_variables(self):
return {"assets_prefix": ""}
def template_variables(self):
header = self.render_template("include/header.include.html")
header = self.render_template("include/header.include.html", **self.header_variables())
return {"header": header}