diff --git a/src/toastbin/app.py b/src/toastbin/app.py index 3b2ad1a..d07449a 100644 --- a/src/toastbin/app.py +++ b/src/toastbin/app.py @@ -3,5 +3,7 @@ from flask import Flask, render_template app = Flask(__name__) @app.route("/") -def index: - return render_template +def index(): + return render_template('index.j2') + +app.run(debug=True) diff --git a/src/toastbin/templates/index.j2 b/src/toastbin/templates/index.j2 index 9c5aac9..789e0a3 100644 --- a/src/toastbin/templates/index.j2 +++ b/src/toastbin/templates/index.j2 @@ -5,4 +5,14 @@ +
+ home | new paste | explore +
+
+
+
+
+

toastbin

+

the eventually good pastebin clone +