Update 404 page.

This commit is contained in:
koirand 2018-09-24 00:35:40 +09:00
parent b62625338b
commit 61481d7393
2 changed files with 17 additions and 11 deletions

View file

@ -1,8 +1,14 @@
<!DOCTYPE html>
{{ define "main"}}
<div>
<h1>404 page not found.</h1>
<p><a href="/">Go Home</p>
</div>
{{ end }}
<html>
{{ partial "head.html" . }}
<body>
{{ partial "header.html" . }}
<div class="main">
<div>
<h1>404 page not found.</h1>
<p><a href="/">Go Home</a></p>
</div>
</div>
{{ partial "footer.html" . }}
</body>
</html>

View file

@ -1,12 +1,12 @@
<!DOCTYPE html>
<html>
{{- partial "head.html" . -}}
{{ partial "head.html" . }}
<body>
{{- partial "header.html" . -}}
{{ partial "header.html" . }}
<div class="main">
{{- block "main" . }}{{- end }}
{{ block "main" . }}{{ end }}
</div>
{{- partial "footer.html" . -}}
{{ partial "footer.html" . }}
</body>
</html>