from flask import Flask, render_template

app = Flask(__name__)

@app.route('/')
def home():
   name = "Flask"  # テンプレートに渡す変数
   return render_template('index.html', name=name)

if __name__ == '__main__':
   app.run(debug=True)