diff options
| author | Serghei Iakovlev <egrep@protonmail.ch> | 2022-04-26 23:09:06 +0200 |
|---|---|---|
| committer | Serghei Iakovlev <egrep@protonmail.ch> | 2022-04-26 23:09:06 +0200 |
| commit | 7a3d98e4e74a466fe4577171cded7221b327f459 (patch) | |
| tree | 677f868073f4b3b09498068dc35bb7f3148803d7 | |
| parent | 9aa47124868a7617354fb26239502a0abaa73258 (diff) | |
| download | gohugo-theme-ed-7a3d98e4e74a466fe4577171cded7221b327f459.tar.gz | |
Add custom 404 page
| -rw-r--r-- | layouts/404.html | 7 |
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 }} |
