Add privacy policy

This commit is contained in:
snowcatridge10 2023-06-03 18:31:55 -04:00
parent e9b2928299
commit ee274a7df7
4 changed files with 30 additions and 2 deletions

View file

@ -741,6 +741,10 @@ def cron():
update_data() update_data()
return "OK" return "OK"
@app.route("/privacypolicy/")
def privacypolicy():
return render_template("privacypolicy.html")
@app.errorhandler(404) @app.errorhandler(404)
def not_found(e): def not_found(e):
return render_template("404.html") return render_template("404.html")

View file

@ -1,7 +1,7 @@
<footer> <footer>
<hr> <hr>
<center> <center>
<p><a href="">Source code (AGPLv3)</a></p> <p><a href="https://codeberg.org/indestructables/indestructables">Source code (AGPLv3)</a></p>
<p><a href="">View privacy policy.</a></p> <p><a href="/privacypolicy">View privacy policy.</a></p>
</center> </center>
</footer> </footer>

View file

@ -0,0 +1,23 @@
<!DOCTYPE html>
<html>
<head>
<title>Privacy Policy - Indestructables</title>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width">
{% include "style.html" %}
<link rel="icon" type="image/png" href="{{ url_for('static', filename='img/favicon.png') }}">
</head>
<body>
{% include "header.html" %}
<center>
<br>
<h1 style="font-size:2em;line-height:0em;">Privacy Policy</h1>
<br>
<p>{% include "privacypolicy.txt" %}</p>
</center>
{% include "footer.html" %}
</body>
</html>

View file

@ -0,0 +1 @@
Nothing here, yet!