render default correctly if there is no extra config

This commit is contained in:
Yannik Schmidt
2021-07-27 18:12:42 +02:00
parent 3abdb916d0
commit 7d34531f1c

View File

@@ -217,6 +217,10 @@ def content():
with open(fullpath) as f:
markupText = markdown2.markdown(f.read())
container = True
else:
container = True
markupText = flask.Markup(flask.render_template(app.config[identifier],
extraConfig=extraConfig)
return flask.render_template("default_content.html", container=container,
conf=app.config, markupText=markupText)