mirror of
https://github.com/Brandon-Rozek/website-theme.git
synced 2024-11-21 15:56:29 -05:00
Update 404 page.
This commit is contained in:
parent
b62625338b
commit
61481d7393
2 changed files with 17 additions and 11 deletions
|
@ -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>
|
||||
|
|
|
@ -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>
|
||||
|
||||
|
|
Loading…
Reference in a new issue