switch to templ for rendering HTML templates
1 file changed, 13 insertions(+), 0 deletions(-)
changed files
A 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> + } +}