From a2feb8c63c80a1f52830f562af2deb2c6065eaae Mon Sep 17 00:00:00 2001 From: Alan Pearce Date: Mon, 24 Jun 2024 21:48:36 +0200 Subject: move templ templates into separate package --- templates/404.templ | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 templates/404.templ (limited to 'templates/404.templ') diff --git a/templates/404.templ b/templates/404.templ new file mode 100644 index 0000000..4b5e52a --- /dev/null +++ b/templates/404.templ @@ -0,0 +1,13 @@ +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