mirror of
https://github.com/FAUSheppy/flask-json-dream-website
synced 2025-12-09 09:18:31 +01:00
unify configuration of site titles
This commit is contained in:
@@ -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):
|
||||
|
||||
Reference in New Issue
Block a user