From ee274a7df7163f6473cd1d9b8a84292cd063a69e Mon Sep 17 00:00:00 2001 From: snowcatridge10 Date: Sat, 3 Jun 2023 18:31:55 -0400 Subject: [PATCH] Add privacy policy --- main.py | 4 ++++ templates/footer.html | 4 ++-- templates/privacypolicy.html | 23 +++++++++++++++++++++++ templates/privacypolicy.txt | 1 + 4 files changed, 30 insertions(+), 2 deletions(-) create mode 100644 templates/privacypolicy.html create mode 100644 templates/privacypolicy.txt diff --git a/main.py b/main.py index 5f92661..07e6836 100644 --- a/main.py +++ b/main.py @@ -741,6 +741,10 @@ def cron(): update_data() return "OK" +@app.route("/privacypolicy/") +def privacypolicy(): + return render_template("privacypolicy.html") + @app.errorhandler(404) def not_found(e): return render_template("404.html") diff --git a/templates/footer.html b/templates/footer.html index 918efc7..817d237 100644 --- a/templates/footer.html +++ b/templates/footer.html @@ -1,7 +1,7 @@ \ No newline at end of file diff --git a/templates/privacypolicy.html b/templates/privacypolicy.html new file mode 100644 index 0000000..67eef22 --- /dev/null +++ b/templates/privacypolicy.html @@ -0,0 +1,23 @@ + + + + + Privacy Policy - Indestructables + + + {% include "style.html" %} + + + + + {% include "header.html" %} +
+
+

Privacy Policy

+
+

{% include "privacypolicy.txt" %}

+
+ {% include "footer.html" %} + + + \ No newline at end of file diff --git a/templates/privacypolicy.txt b/templates/privacypolicy.txt new file mode 100644 index 0000000..7905154 --- /dev/null +++ b/templates/privacypolicy.txt @@ -0,0 +1 @@ +Nothing here, yet! \ No newline at end of file