From c81554a3f93ede83dc13de568cf04c8ad907d3c7 Mon Sep 17 00:00:00 2001 From: digitalcraftsman Date: Sat, 20 Jun 2015 18:06:15 +0200 Subject: [PATCH] Added 404 page --- layouts/404.html | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 layouts/404.html diff --git a/layouts/404.html b/layouts/404.html new file mode 100644 index 0000000..8d8bfd7 --- /dev/null +++ b/layouts/404.html @@ -0,0 +1,32 @@ + + + + {{ partial "head.html" . }} + + + {{ partial "nav.html" . }} + +
+
+
+

404 - page not found

+

The page you're looking for doesn't seem to exist.

+
+ +
    +

    Read more

    + {{ range first 10 .Site.Pages }} + {{ $url := replace .Permalink ( printf "%s" .Site.BaseURL) "" }} + {{ if ne $url "about/" }} +
  • + {{ .Title }} +
  • + {{ end }} + {{ end }} +
+
+ + {{ partial "footer.html" . }} +
+ +