From 548090e67f66acf84385c4152ca464e52d3e3319 Mon Sep 17 00:00:00 2001 From: Thomas Voss Date: Fri, 13 Sep 2024 13:01:48 +0200 Subject: Migrate away from templ and towards html/template --- template/error.templ | 24 ------------------------ 1 file changed, 24 deletions(-) delete mode 100644 template/error.templ (limited to 'template/error.templ') diff --git a/template/error.templ b/template/error.templ deleted file mode 100644 index d2fed83..0000000 --- a/template/error.templ +++ /dev/null @@ -1,24 +0,0 @@ -package template - -import ( - "net/http" - "strconv" - - "git.thomasvoss.com/euro-cash.eu/lib" -) - -templ Error(status int) { - {{ p := ctx.Value("printer").(lib.Printer) }} -
- @navbar() -

{ strconv.Itoa(status) } { http.StatusText(status) }

-
-
-

- { p.T("If you’re seeing this page, it means that something went wrong on our end that we need to fix. Our team has been notified of this error, and we apologise for the inconvenience.") } -

-

- @templ.Raw(p.T("If this issue persists, don’t hesitate to contact @onetruemangoman on Discord or to email us at %s.", contactEmail)) -

-
-} -- cgit v1.2.3