From 9604f08c4e78a369f7b79238e31bc25da7c81587 Mon Sep 17 00:00:00 2001 From: Nathan Woodburn Date: Fri, 29 Dec 2023 20:04:31 +1100 Subject: [PATCH] feat: Add link to stats from home page --- main.py | 7 ------- templates/error.html | 4 ++-- templates/index.html | 4 ++-- templates/stats.html | 2 +- templates/success.html | 4 ++-- 5 files changed, 7 insertions(+), 14 deletions(-) diff --git a/main.py b/main.py index 767a421..8927513 100644 --- a/main.py +++ b/main.py @@ -148,13 +148,6 @@ def stats(): @app.route('/') def catch_all(path): - # # If file exists, load it - # if os.path.isfile('templates/' + path): - # return render_template(path) - - # # Try with .html - # if os.path.isfile('templates/' + path + '.html'): - # return render_template(path + '.html') return redirect('/?r='+path) # 404 catch all diff --git a/templates/error.html b/templates/error.html index 44a6e98..ee14bca 100644 --- a/templates/error.html +++ b/templates/error.html @@ -100,7 +100,7 @@ Claim a free Handshake domain">
dns
Woodburn Registry
-

Free Handshake compatible DNS server. Also provides free SLDs on select TLDs

Learn more +

Free Handshake DNS service. Also provides free SLDs on select TLDs

Learn more
@@ -165,7 +165,7 @@ Claim a free Handshake domain">

- + Stats
diff --git a/templates/index.html b/templates/index.html index b0196a8..ea0f797 100644 --- a/templates/index.html +++ b/templates/index.html @@ -108,7 +108,7 @@ Claim a free Handshake domain">
dns
Woodburn Registry
-

Free Handshake compatible DNS server. Also provides free SLDs on select TLDs

Learn more +

Free Handshake DNS service. Also provides free SLDs on select TLDs

Learn more
@@ -173,7 +173,7 @@ Claim a free Handshake domain">

- + Stats
diff --git a/templates/stats.html b/templates/stats.html index 76d054d..cefa18f 100644 --- a/templates/stats.html +++ b/templates/stats.html @@ -99,7 +99,7 @@ Claim a free Handshake domain">
dns
Woodburn Registry
-

Free Handshake compatible DNS server. Also provides free SLDs on select TLDs

Learn more +

Free Handshake DNS service. Also provides free SLDs on select TLDs

Learn more
diff --git a/templates/success.html b/templates/success.html index 213f757..20cebe1 100644 --- a/templates/success.html +++ b/templates/success.html @@ -99,7 +99,7 @@ Claim a free Handshake domain">
dns
Woodburn Registry
-

Free Handshake compatible DNS server. Also provides free SLDs on select TLDs

Learn more +

Free Handshake DNS service. Also provides free SLDs on select TLDs

Learn more
@@ -164,7 +164,7 @@ Claim a free Handshake domain">

- + Stats