diff --git a/src/aw/views.py b/src/aw/views.py index 41af19e..948e4b1 100644 --- a/src/aw/views.py +++ b/src/aw/views.py @@ -45,10 +45,13 @@ def get_status() -> t.Any: @views.get("/guidelines", alias=True) @views.get("/tos", alias=True) @views.get("/tos.txt", alias=True) +@views.get("/privacy/", alias=True) +@views.get("/privacy", alias=True) +@views.get("/legal/", alias=True) @views.get("/legal") def legal() -> t.Any: """Get general guidelines for ari.lt""" - return flask.render_template("legal.j2") + return flask.render_template("legal.j2", visitor=models.Counter.first().inc().count) @views.post("/status") diff --git a/src/static/legal.sig b/src/static/legal.sig index 8e86312..d3c287a 100644 Binary files a/src/static/legal.sig and b/src/static/legal.sig differ diff --git a/src/static/legal.txt b/src/static/legal.txt index b2a8bb5..aeb356b 100644 --- a/src/static/legal.txt +++ b/src/static/legal.txt @@ -4,7 +4,9 @@ This is the legal information of ari-web which covers topics such as logging pol This document serves as an agreement between you and Ari-web parties, regarding the use and management of Ari-web's services. It outlines the expectations, responsibilities, and limitations for both parties. - Last updated: 2024-11-25 (YYYY-MM-DD) + Visitor: 1609252 + Created at: 2024-11-25 (YYYY-MM-DD) + Last updated: 2024-11-26 (YYYY-MM-DD) OpenPGP signture of this document by the Authorative party's OpenPGP key: legal.sig (Note: Only the text content is what was signed in legal.txt) # Involved Parties diff --git a/src/templates/legal.j2 b/src/templates/legal.j2 index 363f68c..72480d3 100644 --- a/src/templates/legal.j2 +++ b/src/templates/legal.j2 @@ -60,7 +60,9 @@