mirror of
https://github.com/FAUSheppy/flask-json-dream-website
synced 2025-12-06 16:21:35 +01:00
render default correctly if there is no extra config
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user