From f8bf946b090aa4fb0b8beb4ad09c1f06078f0b5b Mon Sep 17 00:00:00 2001 From: Alan Pearce Date: Wed, 26 Jun 2024 11:20:15 +0200 Subject: make error pages dynamic --- templates/404.templ | 13 ------------- 1 file changed, 13 deletions(-) delete mode 100644 templates/404.templ (limited to 'templates/404.templ') diff --git a/templates/404.templ b/templates/404.templ deleted file mode 100644 index 4b5e52a..0000000 --- a/templates/404.templ +++ /dev/null @@ -1,13 +0,0 @@ -package templates - -import "website/internal/config" - -templ NotFound(config config.Config, path string) { - @Page(config, PageSettings{ - Title: "Not Found", - Path: path, - }) { -

404

-

ʕノ•ᴥ•ʔノ ︵ ┻━┻

- } -} -- cgit 1.4.1