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> <!DOCTYPE html>
{{ define "main"}} <html>
{{ partial "head.html" . }}
<body>
{{ partial "header.html" . }}
<div class="main">
<div> <div>
<h1>404 page not found.</h1> <h1>404 page not found.</h1>
<p><a href="/">Go Home</p> <p><a href="/">Go Home</a></p>
</div> </div>
{{ end }} </div>
{{ partial "footer.html" . }}
</body>
</html>

View file

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