From 0b886788a7bea360f8aba0c23cb3d22358d27981 Mon Sep 17 00:00:00 2001 From: Óscar Nájera <hello@oscarnajera.com> Date: Wed, 25 Jul 2018 16:14:03 +0200 Subject: 404 page --- layouts/404.html | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 layouts/404.html 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 }} -- cgit v1.2.3