1
0
mirror of https://github.com/funkypenguin/geek-cookbook/ synced 2025-12-13 09:46:23 +00:00

Add custom 404 (spent WAY too much time on this!)

Signed-off-by: David Young <davidy@funkypenguin.co.nz>
This commit is contained in:
David Young
2022-07-06 09:51:05 +12:00
parent 20ff12fd11
commit 45bdb8b3cd
2 changed files with 19 additions and 1 deletions

18
overrides/404.html Normal file
View File

@@ -0,0 +1,18 @@
{% extends "main.html" %}
<!-- Content -->
{% block libs %}
<script>plausible("404",{ props: { path: document.location.pathname } });</script>
{% endblock %}
{% block content %}
<h1 id="404-page-not-found" style="text-align: center">404 / Geeky Recipe Not Found</h1>
<p style="text-align: center">
Having been erased,<br/>
The document you're seeking<br/>
Must now be retyped.
</p>
<p style="text-align: center">
Try navigating using the heading tabs, or just search 👆
</p>
{% endblock %}