diff options
Diffstat (limited to 'template')
-rw-r--r-- | template/404.templ | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/template/404.templ b/template/404.templ new file mode 100644 index 0000000..9a03b43 --- /dev/null +++ b/template/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> +} |