add 404 page

This commit is contained in:
Ray Elliott 2020-05-03 15:28:27 +01:00
parent 2a2f184a7e
commit 0d419af894
3 changed files with 11 additions and 0 deletions

3
layouts/404.html Normal file
View File

@ -0,0 +1,3 @@
{{ define "content" }}
{{ partial "404.html" . }}
{{ end }}

View File

@ -0,0 +1,7 @@
<section class="container centered">
<div class="error">
<img src="/images/undraw-404.svg" alt="404 Page not found image">
<h1>{{ i18n "page_not_found" }}</h1>
<p>{{ i18n "page_does_not_exist" }}<br />{{ i18n "head_back" .Site.BaseURL | safeHTML }}</p>
</div>
</section>

File diff suppressed because one or more lines are too long

After

Width:  |  Height:  |  Size: 21 KiB