about page
This commit is contained in:
parent
1c13258ac0
commit
628b4c0148
3 changed files with 33 additions and 2 deletions
|
@ -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)
|
||||
|
|
26
utils/static/about.html
Normal file
26
utils/static/about.html
Normal file
|
@ -0,0 +1,26 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<title>Utilities</title>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<link href="assets/style.css" rel="stylesheet" type="text/css">
|
||||
</head>
|
||||
<body>
|
||||
<h1>about</h1>
|
||||
<p>
|
||||
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.
|
||||
</p>
|
||||
<p>
|
||||
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.
|
||||
</p>
|
||||
<footer>
|
||||
<hr />
|
||||
<a href="/">← back home</a>
|
||||
<a href="https://git.everypizza.im/n/utils">source code</a> | version 0.0.1
|
||||
</footer>
|
||||
</body>
|
||||
</html>
|
|
@ -23,6 +23,7 @@
|
|||
</ul>
|
||||
<footer>
|
||||
<hr />
|
||||
<a href="https://git.everypizza.im/n/utils">source code</a> | version 0.0.1
|
||||
<a href="https://git.everypizza.im/n/utils">source code</a> | version 0.0.1 |
|
||||
<a href="about">about</a>
|
||||
</footer>
|
||||
</body>
|
||||
</body>
|
||||
|
|
Loading…
Add table
Reference in a new issue