aboutsummaryrefslogtreecommitdiff
path: root/backend/templates
diff options
context:
space:
mode:
authorWilliam Hergès <william@herges.fr>2025-10-03 18:55:14 +0200
committerWilliam Hergès <william@herges.fr>2025-10-03 18:55:14 +0200
commitf4a7265be6b4b9c4eedad561a8ed26cd8b7003b0 (patch)
tree4320311f70902bb87f47e2272308fff4ae9e5a98 /backend/templates
parent3ba8390e4bc08f5bf6f674c308cecb72466b1140 (diff)
feat(backend): handle 404
Diffstat (limited to 'backend/templates')
-rw-r--r--backend/templates/404.html15
1 files changed, 15 insertions, 0 deletions
diff --git a/backend/templates/404.html b/backend/templates/404.html
new file mode 100644
index 0000000..0655652
--- /dev/null
+++ b/backend/templates/404.html
@@ -0,0 +1,15 @@
+{{ define "body" }}
+<main id="content">
+ <h1>Oh non, je crois que tu t'es perdu :(</h1>
+ <p>
+ Tu as des liens en haut pour retrouver ton chemin :3
+ </p>
+ <p>
+ Si tu penses que c'est un bug, hésite pas à ouvrir une issue sur
+ <a href="https://github.com/anhgelus/small-web/issues">GitHub</a> :D
+ </p>
+ <p>
+ (enfin, sauf si tu as un compte sur ma forge, mais ça m'étonnerait...)
+ </p>
+</main>
+{{ end }} \ No newline at end of file