1
0
mirror of https://github.com/alanorth/hugo-theme-bootstrap4-blog.git synced 2024-12-25 03:34:29 +01:00

layouts/404.html: Add minimal not found page

You still need to instruct your web server to use this. See the Hugo
documentation for more information: https://gohugo.io/templates/404/

Closes #72
This commit is contained in:
Alan Orth 2018-01-14 05:49:55 +02:00
parent c7bb955708
commit 58f0b48a72
Signed by: alanorth
GPG Key ID: 0FB860CC9C45B1B9

View File

@ -0,0 +1,12 @@
{{ define "main"}}
<article class="blog-post">
<header>
<h2 class="blog-post-title">Page Not Found</h2>
</header>
<p>Page not found. Go back <a href="{{ "/" | relURL }}">home</a>.</p>
</article> <!-- /.blog-post -->
{{ end }}
{{- /* vim: set ts=2 sw=2 et: */}}