diff --git a/app.py b/app.py index d82c51f0d..0c1a78975 100644 --- a/app.py +++ b/app.py @@ -1,6 +1,6 @@ -from flask import Flask +from flask import Flask, render_template app = Flask(__name__) @app.route('/') def hello_world(): - return 'Hello, World!' + return render_template('hello.html') diff --git a/templates/hello.html b/templates/hello.html new file mode 100644 index 000000000..9bbf8d319 --- /dev/null +++ b/templates/hello.html @@ -0,0 +1,10 @@ + + + + + Rendering Local Images Using Flask + + + Italian Trulli + +