add 404 handler (#57)

This commit is contained in:
f0x52
2021-06-21 21:08:02 +02:00
committed by GitHub
parent eaeceb1c67
commit 5a2f3b35ba
3 changed files with 38 additions and 0 deletions

11
web/template/404.tmpl Normal file
View File

@ -0,0 +1,11 @@
{{ template "header.tmpl" .}}
<aside class="left logo">
<img src="/assets/sloth.png" alt="Clipart styled sloth logo">
</aside>
<section>
<h1>404: Page Not Found</h1>
If you believe this was an error, you can <a href="/{{.instance.ContactAccount}}">contact an admin</a>
</section>
{{ template "footer.tmpl" .}}