diff options
author | Alan Pearce | 2024-06-24 21:48:36 +0200 |
---|---|---|
committer | Alan Pearce | 2024-06-24 23:09:15 +0200 |
commit | a2feb8c63c80a1f52830f562af2deb2c6065eaae (patch) | |
tree | 448ed15c5fb91099ef29528c529a35d6151d98ee /templates/404.templ | |
parent | 8623948592fa14958d340b006653fc57861c4fc4 (diff) | |
download | website-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.templ | 13 |
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> + } +} |