summaryrefslogtreecommitdiffstats
path: root/layouts/404.html
diff options
context:
space:
mode:
authorSerghei Iakovlev <egrep@protonmail.ch>2022-04-26 23:09:06 +0200
committerSerghei Iakovlev <egrep@protonmail.ch>2022-04-26 23:09:06 +0200
commit7a3d98e4e74a466fe4577171cded7221b327f459 (patch)
tree677f868073f4b3b09498068dc35bb7f3148803d7 /layouts/404.html
parent9aa47124868a7617354fb26239502a0abaa73258 (diff)
downloadgohugo-theme-ed-7a3d98e4e74a466fe4577171cded7221b327f459.tar.gz
Add custom 404 page
Diffstat (limited to 'layouts/404.html')
-rw-r--r--layouts/404.html7
1 files changed, 7 insertions, 0 deletions
diff --git a/layouts/404.html b/layouts/404.html
new file mode 100644
index 0000000..071f43e
--- /dev/null
+++ b/layouts/404.html
@@ -0,0 +1,7 @@
+{{ define "main" }}
+<article class="page">
+ <h1 class="page-title">404: Page not found</h1>
+ Sorry, we've misplaced that URL or it's pointing to something that doesn't exist.
+ <a href="{{ "/" | relURL }}">Head back home to try finding it again</a>.
+</article>
+{{ end }}