Add 404 page template

This commit is contained in:
Jez Cope 2021-04-10 20:56:01 +01:00
parent c802241deb
commit 1a5a3f3d97
1 changed files with 26 additions and 0 deletions

26
layouts/404.html Normal file
View File

@ -0,0 +1,26 @@
{{ define "main" }}
<section class="hero is-warning is-medium">
<div class="hero-body">
<div class="container">
<div class="columns">
<main class="column is-8 is-offset-2">
<p class="title">
Page not found
</p>
<div class="content">
<p>
You could:
</p>
<ul>
<li><a href="{{ "/" | relURL }}">Go back to the home page</a></li>
<li><a href="{{ "/tags/" | relURL }}">Take a look at the list of tags</a></li>
<li><a href="https://duckduckgo.com">Try searching for what you're looking for</a></li>
</ul>
</div>
</main>
</div>
</div>
</div>
</section>
{{ end }}