from flask import render_template
#####################################
# /!\ REMEMBER TO IMPORT THE MODULE #
# ABOVE OR IT WON'T WORK! #
#####################################
# ...
@app.route("/hello/<name>")
def say_hi(name):
# You could just return the name in a simple
# route like before like this:
# return "Hello " + name
return render_template("hello.html", name=name)