mirror of
https://github.com/FAUSheppy/flask-json-dream-website
synced 2025-12-06 16:21:35 +01:00
fix code indent
This commit is contained in:
@@ -100,7 +100,7 @@ The order is again specified by the alpha-numeric order of the files.
|
||||
New subpages must be added as a new location in the *server.py* like this:
|
||||
|
||||
@app.route("/subpage")
|
||||
def subpage():
|
||||
return flask.render_template("subpage.html", conf=mainConfig)
|
||||
def subpage():
|
||||
return flask.render_template("subpage.html", conf=mainConfig)
|
||||
|
||||
See the example subpage-templates in *templates/*.
|
||||
|
||||
Reference in New Issue
Block a user