app.route()

JavaScript
@app.route("/route/to/page")
def what_to_display_when_someone_goes_here():
    return("Whatever.")
Source

Also in JavaScript: