From 29b9a962ebfdc8143202ab21e83fea36d0c360b9 Mon Sep 17 00:00:00 2001 From: Mathieu Cornic Date: Tue, 12 Apr 2016 01:46:08 +0200 Subject: feat: add 404 page --- layouts/404.html | 53 +++++++++++++++++++++++++++++++++++++++++++ static/images/gopher-404.jpg | Bin 0 -> 220526 bytes 2 files changed, 53 insertions(+) create mode 100644 layouts/404.html create mode 100644 static/images/gopher-404.jpg diff --git a/layouts/404.html b/layouts/404.html new file mode 100644 index 0000000..432c9b2 --- /dev/null +++ b/layouts/404.html @@ -0,0 +1,53 @@ + + + + + {{ partial "meta.html" . }} {{ partial "favicon.html" . }} {{ .Scratch.Add "title" "" }}{{ if isset .Site.Data.titles .Title }}{{ .Scratch.Set "title" (index .Site.Data.titles .Title).title }}{{ else }}{{ .Scratch.Set "title" .Title}}{{end}} + {{ .Scratch.Get "title" }} + {{ partial "style.html" . }} + + + + + + + + + + + + + + +
+
+
+
+

Error

+

+

+

Woops. Looks like this page doesn't exist.

+

+

Go to homepage

+

+
+
+ +
+ + + diff --git a/static/images/gopher-404.jpg b/static/images/gopher-404.jpg new file mode 100644 index 0000000..df10648 Binary files /dev/null and b/static/images/gopher-404.jpg differ -- cgit v1.2.3