about summary refs log tree commit diff stats
path: root/internal/builder/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 /internal/builder/404.templ
parent8623948592fa14958d340b006653fc57861c4fc4 (diff)
downloadwebsite-a2feb8c63c80a1f52830f562af2deb2c6065eaae.tar.lz
website-a2feb8c63c80a1f52830f562af2deb2c6065eaae.tar.zst
website-a2feb8c63c80a1f52830f562af2deb2c6065eaae.zip
move templ templates into separate package
Diffstat (limited to 'internal/builder/404.templ')
-rw-r--r--internal/builder/404.templ13
1 files changed, 0 insertions, 13 deletions
diff --git a/internal/builder/404.templ b/internal/builder/404.templ
deleted file mode 100644
index 049e67d..0000000
--- a/internal/builder/404.templ
+++ /dev/null
@@ -1,13 +0,0 @@
-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>
-	}
-}