diff --git a/utils/app.py b/utils/app.py index 2629d22..e027c4b 100644 --- a/utils/app.py +++ b/utils/app.py @@ -54,5 +54,9 @@ def case(): return redirect(url_for('result', result=result, type='casing')) return render_template('casing.j2') +@app.route('/about') +def about(): + return send_from_directory('static', 'about.sanitize_html') + if __name__ == '__main__': app.run(debug=True) diff --git a/utils/static/about.html b/utils/static/about.html new file mode 100644 index 0000000..808f5be --- /dev/null +++ b/utils/static/about.html @@ -0,0 +1,26 @@ + + +
++ utils is a collection of tools made by Nyx for everypizza.im. it exists + because we belive JavaScript is bad when you can render server-side. as such, + all of these tools are done server-side. we plan to make a self-hosting guide + very soon. +
++ this is run on the same server that powers most of everypizza.im, although it + may move to the pi server soon. it's a python/flask app. mostly made in vim. +
+ + + diff --git a/utils/templates/index.j2 b/utils/templates/index.j2 index f623f17..c616b1e 100644 --- a/utils/templates/index.j2 +++ b/utils/templates/index.j2 @@ -23,6 +23,7 @@ -