diff --git a/app/routes.py b/app/routes.py index 8fbcdeb..db34b74 100644 --- a/app/routes.py +++ b/app/routes.py @@ -29,17 +29,22 @@ strgen = lambda length, charset=string.ascii_letters, weights=None : ''.join(ran @app.route('/ftbhot/about') @app.route('/ftbhot/about/') def ftbhot_about(): - return "about page xd" + return render_template('/ftbhot/about.html') @app.route('/ftbhot/auth') @app.route('/ftbhot/auth/') def ftbhot_auth(): - return 'hi bot guy' + return 'WIP' @app.route('/ftbhot') @app.route('/ftbhot/') def ftbhot(): - return 't' + return render_template('/ftbhot/embed.html') + +@app.route('/ftbhot/json') +@app.route('/ftbhot/json/') +def ftbhot_embed(): + return render_template('/ftbhot/current.json') @app.route('/time/') def time(): diff --git a/app/templates/ftbhot/about.html b/app/templates/ftbhot/about.html new file mode 100644 index 0000000..73f04ba --- /dev/null +++ b/app/templates/ftbhot/about.html @@ -0,0 +1,21 @@ +{% extends 'base.html' %} +{% block head %} +{{ super() }} + + +{% endblock head %} +{% block body %} + +
+
+
+
+
+
This mini-project doesn't really have that great of an explanation.
Go to the /r/feedthebeast subreddit's discord and use the ??backontopic command.
+
+
+
+
+
+ +{% endblock body %} \ No newline at end of file diff --git a/app/static/reddit_hot.json b/app/templates/ftbhot/current.json similarity index 100% rename from app/static/reddit_hot.json rename to app/templates/ftbhot/current.json diff --git a/app/templates/reddit_hot.html b/app/templates/ftbhot/embed.html similarity index 100% rename from app/templates/reddit_hot.html rename to app/templates/ftbhot/embed.html