Rename and slightly reword error page

master
Tristan Daniël Maat 2022-09-16 17:30:14 +01:00
parent 5bb1f4386a
commit 789431c13c
Signed by: tlater
GPG Key ID: 49670FD774E43268
2 changed files with 5 additions and 5 deletions

View File

@ -80,5 +80,5 @@ scripts:
# Parcel config # Parcel config
source: source:
- src/index.html - src/index.html
- src/404.html - src/error.html
browserslist: '> 1%, not dead' browserslist: '> 1%, not dead'

View File

@ -2,16 +2,16 @@
<block name="content"> <block name="content">
<section class="section"> <section class="section">
<div class="container"> <div class="container">
<h1 class="title has-text-weight-normal">404</h1> <h1 class="title has-text-weight-normal">{{ error.status_code }}</h1>
<div class="columns"> <div class="columns">
<div class="column content"> <div class="column content">
<!-- prettier-ignore --> <!-- prettier-ignore -->
<markdown> <markdown>
Whatever you were expecting to see here doesn't exist. {{ error.message }}
If you were sent here from a link and you really think If you think this is a mistake, feel free to [contact
this page *should* exist, feel free to contact me! me](~/src/mail.html)!
</markdown> </markdown>
</div> </div>
</div> </div>