about summary refs log tree commit diff stats
path: root/templates/404.templ
diff options
context:
space:
mode:
authorAlan Pearce2024-06-24 21:48:36 +0200
committerAlan Pearce2024-06-24 23:09:15 +0200
commita2feb8c63c80a1f52830f562af2deb2c6065eaae (patch)
tree448ed15c5fb91099ef29528c529a35d6151d98ee /templates/404.templ
parent8623948592fa14958d340b006653fc57861c4fc4 (diff)
downloadwebsite-a2feb8c63c80a1f52830f562af2deb2c6065eaae.tar.lz
website-a2feb8c63c80a1f52830f562af2deb2c6065eaae.tar.zst
website-a2feb8c63c80a1f52830f562af2deb2c6065eaae.zip
move templ templates into separate package
Diffstat (limited to 'templates/404.templ')
-rw-r--r--templates/404.templ13
1 files changed, 13 insertions, 0 deletions
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,
+	}) {
+		<h1>404</h1>
+		<h2>ʕノ•ᴥ•ʔノ ︵ ┻━┻</h2>
+	}
+}