From cf00417ab999a5df63a711bd0f5a6d1e33af767f Mon Sep 17 00:00:00 2001
From: Bastian Greshake Tzovaras <bgreshake@googlemail.com>
Date: Wed, 30 Oct 2024 13:21:03 +0100
Subject: [PATCH] 1st draft improv error template

---
 html/templates/error.html | 13 ++++++++++---
 1 file changed, 10 insertions(+), 3 deletions(-)

diff --git a/html/templates/error.html b/html/templates/error.html
index 05a5d46..b6e71e7 100644
--- a/html/templates/error.html
+++ b/html/templates/error.html
@@ -33,12 +33,19 @@
         d="M 9 2 C 5.1458514 2 2 5.1458514 2 9 C 2 12.854149 5.1458514 16 9 16 C 10.747998 16 12.345009 15.348024 13.574219 14.28125 L 14 14.707031 L 14 16 L 19.585938 21.585938 C 20.137937 22.137937 21.033938 22.137938 21.585938 21.585938 C 22.137938 21.033938 22.137938 20.137938 21.585938 19.585938 L 16 14 L 14.707031 14 L 14.28125 13.574219 C 15.348024 12.345009 16 10.747998 16 9 C 16 5.1458514 12.854149 2 9 2 z M 9 4 C 11.773268 4 14 6.2267316 14 9 C 14 11.773268 11.773268 14 9 14 C 6.2267316 14 4 11.773268 4 9 C 4 6.2267316 6.2267316 4 9 4 z"
       />
     </svg>
-    <h1 class="mb-0 text-primary">{{.StatusText}} ({{.StatusCode}})!</h1>
+    <h1 class="mb-0 text-primary">{{.StatusText}} (Error {{.StatusCode}})!</h1>
     <h5 class="text-center" style="max-width: 25em">
-      <p>Sorry, but this page couldn't be served.</p>
+      <p>Sorry, but this page couldn't be served:</p>
       <p><b>"{{.Message}}"</b></p>
       <p>
-        We hope this isn't a problem on our end ;) - Make sure to check the
+      	The page you tried to reach is hosted on Codeberg Pages, which might
+	currently be experiencing technical difficulties. If that is the case,
+	it could take a little while until this page is available again.
+      </p>
+      <p>
+        Otherwise, this page might also be unavailable due to a configuration
+	error. If you are the owner of this website, please make sure to check
+	the
         <a href="https://docs.codeberg.org/codeberg-pages/troubleshooting/" target="_blank"
           >troubleshooting section in the Docs</a
         >!