Clean up about page

This commit is contained in:
Jonas Schäfer
2020-03-07 13:31:40 +01:00
parent 18279e3478
commit 6819a4eec6
2 changed files with 21 additions and 14 deletions

View File

@@ -47,7 +47,7 @@ async def home():
@app.route("/meta/about.html")
async def about():
return await render_template("about.html")
return await render_template("about.html", version=version)
@app.route("/meta/demo.html")
@@ -116,5 +116,8 @@ def proc():
}
app.template_filter("repr")(repr)
from .user import user_bp # NOQA
app.register_blueprint(user_bp)