unify configuration of site titles

This commit is contained in:
2020-07-28 01:26:50 +02:00
parent 0dc083dab9
commit 5ead5fb292
3 changed files with 7 additions and 2 deletions

View File

@@ -197,7 +197,7 @@ def news():
except FileNotFoundError as e:
return ("File not found Error ({})".format(e), HTTP_NOT_FOUND)
return flask.render_template("news.html", conf=app.config, article=article)
return flask.render_template("news.html", conf=app.config, article=article, title=article["title"])
@app.route("/static/<path:path>")
def sendStatic(path):