diff options
author | Mathieu Cornic <mathieu.cornic@gmail.com> | 2016-04-12 02:46:08 +0300 |
---|---|---|
committer | Mathieu Cornic <mathieu.cornic@gmail.com> | 2016-04-12 02:46:08 +0300 |
commit | 29b9a962ebfdc8143202ab21e83fea36d0c360b9 (patch) | |
tree | 97f89418a17507a2f5dd5547e66a184e177b968d /layouts | |
parent | afb1714e30dd18399078f52c362c4d50c9f95fdb (diff) |
feat: add 404 page
Diffstat (limited to 'layouts')
-rw-r--r-- | layouts/404.html | 53 |
1 files changed, 53 insertions, 0 deletions
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 @@ +<!DOCTYPE html> +<html lang="en" class="js csstransforms3d"> + +<head> + <meta charset="utf-8"> {{ 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}} + <title>{{ .Scratch.Get "title" }}</title> + {{ partial "style.html" . }} + <link href="/css/nucleus.css" rel="stylesheet"> + <link href="/css/font-awesome.min.css" rel="stylesheet"> + <link href="/css/hybrid.css" rel="stylesheet"> + <link href="/css/featherlight.min.css" rel="stylesheet"> + <link href="/css/perfect-scrollbar.min.css" rel="stylesheet"> + <link href="/css/theme.css" rel="stylesheet"> + <link href="/css/hugo-theme.css" rel="stylesheet"> + <style type="text/css"> + :root #header + #content > #left > #rlblock_left { + display: none !important; + } + + p, + li, + ul { + text-align: center + } + + ul { + list-style-type: none; + } + </style> +</head> + +<body> + + <body class="" data-url="/"> + + <section id="body" style="margin-left:0px;"> + <div id="overlay"></div> + <div id="chapter"> + <div id="body-inner"> + <h1>Error </h1> + <p> + </p> + <p>Woops. Looks like this page doesn't exist.</p> + <p></p> + <p><a href="{{.Site.BaseURL}}">Go to homepage</a></p> + <p><img src="/images/gopher-404.jpg" style="width:50%"></img></p> + </div> + </div> + + </section> + </body> + +</html> |