From 789431c13cf1e906cbaf48e9b1078056c8ec3cc8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tristan=20Dani=C3=ABl=20Maat?= Date: Fri, 16 Sep 2022 17:30:14 +0100 Subject: [PATCH] Rename and slightly reword error page --- package.yaml | 2 +- src/{404.html => error.html} | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) rename src/{404.html => error.html} (57%) diff --git a/package.yaml b/package.yaml index 4b6139e..5d77f29 100644 --- a/package.yaml +++ b/package.yaml @@ -80,5 +80,5 @@ scripts: # Parcel config source: - src/index.html - - src/404.html + - src/error.html browserslist: '> 1%, not dead' diff --git a/src/404.html b/src/error.html similarity index 57% rename from src/404.html rename to src/error.html index b1ec2e3..a3dc3f6 100644 --- a/src/404.html +++ b/src/error.html @@ -2,16 +2,16 @@
-

404

+

{{ error.status_code }}

- Whatever you were expecting to see here doesn't exist. + {{ error.message }} - If you were sent here from a link and you really think - this page *should* exist, feel free to contact me! + If you think this is a mistake, feel free to [contact + me](~/src/mail.html)!