diff --git a/server.py b/server.py index c85fa73..350ec50 100644 --- a/server.py +++ b/server.py @@ -386,6 +386,9 @@ def catch_all(path): # Try with .html if os.path.isfile('templates/' + path + '.html'): return render_template(path + '.html', year=year) + + if os.path.isfile('templates/' + path.strip('/') + '.html'): + return render_template(path.strip('/') + '.html', year=year) return render_template('404.html'), 404 diff --git a/templates/assets/img/blog/dot_anz.webp b/templates/assets/img/blog/dot_anz.webp new file mode 100644 index 0000000..0bb9206 Binary files /dev/null and b/templates/assets/img/blog/dot_anz.webp differ diff --git a/templates/assets/img/blog/dot_australia.png b/templates/assets/img/blog/dot_australia.png new file mode 100644 index 0000000..f68833d Binary files /dev/null and b/templates/assets/img/blog/dot_australia.png differ diff --git a/templates/assets/img/blog/dot_newzealand.webp b/templates/assets/img/blog/dot_newzealand.webp new file mode 100644 index 0000000..4605a0e Binary files /dev/null and b/templates/assets/img/blog/dot_newzealand.webp differ diff --git a/templates/assets/img/blog/new_domains.png b/templates/assets/img/blog/new_domains.png new file mode 100644 index 0000000..aba99b8 Binary files /dev/null and b/templates/assets/img/blog/new_domains.png differ diff --git a/templates/blog.html b/templates/blog.html index 1b5f1b5..edf10d2 100644 --- a/templates/blog.html +++ b/templates/blog.html @@ -70,6 +70,16 @@

Latest Blog posts from HNSAU

+
+
+
+
+

New Domains

+
Feb 21, 2024 by Nathan.Woodburn/
+

HNSAU has just added 5 domains to the registry.
Register even more Australian SLDs on HNSAU.
Also find out about .Australia/ and .NewZealand/

Read More +
+
+
diff --git a/templates/blog/new_domains.html b/templates/blog/new_domains.html new file mode 100644 index 0000000..031b9ec --- /dev/null +++ b/templates/blog/new_domains.html @@ -0,0 +1,127 @@ + + + + + + + New Domains - HNSAU + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+
+
+
+
+

New Domains

+ +

G'day,
HNSAU have just released 5 new TLDs for sale on the HNSAU domain registry.
These domains are available for registration right now. All proceeds are going to support HNSAU.
We are planning on targeting university students in Australia and New Zealand with free SLDs for projects.

Get your Australian Handshake domains at https://domains.hns.au

+

.Australia/ & .NewZealand/

+

.Australia/ and .NewZealand/ will be not be for sale until we can guarantee use in partnership with Australian or Kiwi businesses and individuals. We are offering SLDs for Aussies and Kiwis if they have a specific project or use in mind. These will be given after consideration with the HNSAU team.

+
+
+
A generic square placeholder image with rounded corners in a figure. +
.Australia/ domains
+
+
+
+
A generic square placeholder image with rounded corners in a figure. +
.NewZealand/ domains
+
+
+
+
+
+
+
+
+ + + + + + + + \ No newline at end of file diff --git a/templates/sitemap.xml b/templates/sitemap.xml index ac7f791..d8505f4 100644 --- a/templates/sitemap.xml +++ b/templates/sitemap.xml @@ -3,6 +3,9 @@ https://hns.au/blog/happening + + https://hns.au/blog/new_domains + https://hns.au/blog/pins