about summary refs log tree commit diff stats
path: root/internal/builder/404.templ
diff options
context:
space:
mode:
Diffstat (limited to 'internal/builder/404.templ')
-rw-r--r--internal/builder/404.templ13
1 files changed, 13 insertions, 0 deletions
diff --git a/internal/builder/404.templ b/internal/builder/404.templ
new file mode 100644
index 0000000..049e67d
--- /dev/null
+++ b/internal/builder/404.templ
@@ -0,0 +1,13 @@
+package builder
+
+import "website/internal/config"
+
+templ notFound(config config.Config, path string) {
+	@page(config, PageSettings{
+		Title: "Not Found",
+		Path:  path,
+	}) {
+		<h1>404</h1>
+		<h2>ʕノ•ᴥ•ʔノ ︵ ┻━┻</h2>
+	}
+}