diff --git a/src/app.py b/src/app.py index 8d82c47..0f9b3ee 100644 --- a/src/app.py +++ b/src/app.py @@ -1,6 +1,6 @@ import logging from sys import stdout, stderr -from flask import Flask, request +from flask import Flask, request, render_template app = Flask(__name__) @@ -19,7 +19,7 @@ log.addHandler(stderr_handler) @app.route('/') def hello_world(): # put application's code here - return "Welcome to the initial commit - there's nothing here right now..." + return render_template('base.html', title="Hello, Spool") @app.route('/oauth') diff --git a/src/templates/base.html b/src/templates/base.html new file mode 100644 index 0000000..3526c27 --- /dev/null +++ b/src/templates/base.html @@ -0,0 +1,13 @@ + + + + {% block head %} + {{ title|default('Spool') }} + {% endblock head %} + + + {% block body %} + {{ content }} + {% endblock body %} + + \ No newline at end of file