Bring back 404 page

This commit is contained in:
Simon Binder 2021-03-19 21:11:12 +01:00
parent 5efe93e34c
commit 3be88813d6
No known key found for this signature in database
GPG Key ID: 7891917E4147B8C0
2 changed files with 15 additions and 0 deletions

6
docs/pages/404.html Normal file
View File

@ -0,0 +1,6 @@
---
data:
title: Not found!
path: /404.html
template: not_found
---

9
docs/templates/not_found.html vendored Normal file
View File

@ -0,0 +1,9 @@
{% capture main %}
<main id="main">
<div>
<h1 id="title">Not found</h1>
<p>Oops! This page doesn't exist. Try going back to our <a href="{{ "/" | relURL }}">home page</a>.</p>
</div>
</main>
{% endcapture %}
{% include "_default/baseof.html" %}