Different 404

This commit is contained in:
Daniel Flanagan 2020-09-14 10:32:29 -05:00
parent c3e797d412
commit 708ee6b396
Signed by: lytedev
GPG key ID: 5B2020A0F9921EF4
2 changed files with 14 additions and 17 deletions

View file

@ -1,17 +0,0 @@
---
image: /img/mountain-lake.jpg
imageOverlayColor: "#000"
imageOverlayOpacity: 0.5
heroBackgroundColor: "#840"
title: 404 Not Found
description: "Don't you just hate that?"
---
Looks like you're lost or found a deleted page. Enjoy the picture of the mountains above for just a moment...
Now scoot! Back to whatever you were doing!
Maybe start at [the beginning][home]?
[home]: /

14
layouts/404.html Normal file
View file

@ -0,0 +1,14 @@
{{ define "main" }}
<p>
Looks like this page doesn't exist. Perhaps you're lost. Maybe I deleted it.
</p>
<p>
Either way, you should probably get going.
</p>
<p>
Go
<a href="javascript:history.go(-1)" title="Return to the previous page">Back</a>
or
<a href="/" title="Go to this site's index">Home</a>.
</p>
{{ end }}