aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorÓscar Nájera <hello@oscarnajera.com>2018-07-25 16:14:03 +0200
committerÓscar Nájera <hello@oscarnajera.com>2018-07-25 16:14:03 +0200
commit0b886788a7bea360f8aba0c23cb3d22358d27981 (patch)
treebb0effad7586b945b2ff2daa9b9023409ef5e7a9
parentc6a4d04246a7c4dde6824e3b7771bba980ab299e (diff)
downloadhugo-minimalist-theme-0b886788a7bea360f8aba0c23cb3d22358d27981.tar.gz
hugo-minimalist-theme-0b886788a7bea360f8aba0c23cb3d22358d27981.tar.bz2
hugo-minimalist-theme-0b886788a7bea360f8aba0c23cb3d22358d27981.zip
404 page
-rw-r--r--layouts/404.html17
1 files changed, 17 insertions, 0 deletions
diff --git a/layouts/404.html b/layouts/404.html
new file mode 100644
index 0000000..9994e0c
--- /dev/null
+++ b/layouts/404.html
@@ -0,0 +1,17 @@
+{{ define "main" }}
+<div id="content" class="bg-near-white pb2">
+ <header class="tc ph5 lh-copy">
+ <h1 class="f1 f-headline-l code dib orange">404</h1>
+ <h2 class="tc f1-l fw1">Sorry, we can't find the page you are looking for.</h2>
+ </header>
+
+ <p class="fw1 i tc mt4 mt5-l f4 f3-l">Are you looking for one of these?</p>
+
+ <div class="db tc ma3 f6">
+ {{ range .Site.Menus.main }}
+ <a class="dib link dim ph3 pv2 ba br1 ttu f5 ma1" href="{{ .URL | relLangURL }}" title="{{ .Title }}">
+ {{ .Pre }} {{ .Name }}</a>
+ {{ end }}
+ </div>
+</div>
+{{ end }}