feat: middleware to return error as html
This commit is contained in:
9
pages/templates/errors/404.gohtml
Normal file
9
pages/templates/errors/404.gohtml
Normal file
@@ -0,0 +1,9 @@
|
||||
{{ define "title" }}
|
||||
Page Not Found
|
||||
{{ end }}
|
||||
|
||||
{{ define "main" }}
|
||||
<main hx-boost="true" class="px-10 pt-10 flex flex-col gap-y-10">
|
||||
Error 404 means the page was not found
|
||||
</main>
|
||||
{{ end }}
|
||||
Reference in New Issue
Block a user