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"}} <head>
<main id="main"> {{ partial "docs/html-head" . }}
<div> {{ partial "docs/inject/head" . }}
<h1 id="title"><a href="{{ "/" }}">Go Home</a></h1> </head>
</div>
<body>
<main class="flex justify-center">
<h1>404 Not Found</h1>
</main> </main>
{{ end }}
{{ define "toc" }} {{ end }} {{ partial "docs/inject/body" . }}
{{ template "_internal/google_analytics_async.html" . }}
</body>
</html>

View file

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