summaryrefslogtreecommitdiffhomepage
path: root/template.old/404.templ
diff options
context:
space:
mode:
Diffstat (limited to 'template.old/404.templ')
-rw-r--r--template.old/404.templ16
1 files changed, 16 insertions, 0 deletions
diff --git a/template.old/404.templ b/template.old/404.templ
new file mode 100644
index 0000000..9a03b43
--- /dev/null
+++ b/template.old/404.templ
@@ -0,0 +1,16 @@
+package template
+
+import "git.thomasvoss.com/euro-cash.eu/lib"
+
+templ NotFound() {
+ {{ p := ctx.Value("printer").(lib.Printer) }}
+ <header>
+ @navbar()
+ <h1>{ p.T("Page Not Found") }</h1>
+ </header>
+ <main>
+ <p>
+ @templ.Raw(p.T("The page you were looking for does not exist. If you believe this is a mistake then don’t hesitate to contact @onetruemangoman on Discord or to email us at %s.", contactEmail))
+ </p>
+ </main>
+}