summaryrefslogtreecommitdiff
path: root/web
diff options
context:
space:
mode:
authorLibravatar f0x52 <f0x@cthu.lu>2021-06-21 21:08:02 +0200
committerLibravatar GitHub <noreply@github.com>2021-06-21 21:08:02 +0200
commit5a2f3b35baeacff0c88c4455897f5edef9e6190f (patch)
treeb0cde002b58545275d7010051200ae754c2e57dd /web
parentadd favicon (#54) (diff)
downloadgotosocial-5a2f3b35baeacff0c88c4455897f5edef9e6190f.tar.xz
add 404 handler (#57)
Diffstat (limited to 'web')
-rw-r--r--web/template/404.tmpl11
1 files changed, 11 insertions, 0 deletions
diff --git a/web/template/404.tmpl b/web/template/404.tmpl
new file mode 100644
index 000000000..49582e6dd
--- /dev/null
+++ b/web/template/404.tmpl
@@ -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" .}} \ No newline at end of file