From 9f6e31d42a3f66b843cf266521270e382685baf7 Mon Sep 17 00:00:00 2001 From: sbstn-jmnz Date: Sun, 16 Apr 2023 23:23:01 -0400 Subject: [PATCH] add index template --- app.py | 5 +++-- templates/index.html | 19 +++++++++++++++++++ 2 files changed, 22 insertions(+), 2 deletions(-) create mode 100644 templates/index.html diff --git a/app.py b/app.py index d82c51f0d..17d7bf4dd 100644 --- a/app.py +++ b/app.py @@ -1,6 +1,7 @@ -from flask import Flask +from flask import Flask, render_template app = Flask(__name__) + @app.route('/') def hello_world(): - return 'Hello, World!' + return render_template('index.html') diff --git a/templates/index.html b/templates/index.html new file mode 100644 index 000000000..6aac32edd --- /dev/null +++ b/templates/index.html @@ -0,0 +1,19 @@ + + + + + + + Bootstrap demo + + + + +

Hello, Boolean!

+ + + + \ No newline at end of file