Update 404 template

This commit is contained in:
Alex Shpak 2018-11-25 13:34:00 +01:00
parent 76c251066f
commit 601bfabde1
2 changed files with 20 additions and 11 deletions

View file

@ -1,10 +1,19 @@
<!DOCTYPE html>
{{- partial "docs/shared" -}}
<html>
{{ define "main"}}
<main id="main">
<div>
<h1 id="title"><a href="{{ "/" }}">Go Home</a></h1>
</div>
</main>
{{ end }}
<head>
{{ partial "docs/html-head" . }}
{{ partial "docs/inject/head" . }}
</head>
{{ define "toc" }} {{ end }}
<body>
<main class="flex justify-center">
<h1>404 Not Found</h1>
</main>
{{ partial "docs/inject/body" . }}
{{ template "_internal/google_analytics_async.html" . }}
</body>
</html>

View file

@ -32,10 +32,10 @@
</div>
{{ template "toc" . }}
</main>
{{ partial "docs/inject/body" . }}
{{ template "_internal/google_analytics_async.html" . }}
</main>
</body>
</html>