From 61481d7393951071b03a106fdc71a1e76f85fc5f Mon Sep 17 00:00:00 2001 From: koirand Date: Mon, 24 Sep 2018 00:35:40 +0900 Subject: [PATCH] Update 404 page. --- layouts/404.html | 20 +++++++++++++------- layouts/_default/baseof.html | 8 ++++---- 2 files changed, 17 insertions(+), 11 deletions(-) diff --git a/layouts/404.html b/layouts/404.html index e5bb652..8f9d5d6 100644 --- a/layouts/404.html +++ b/layouts/404.html @@ -1,8 +1,14 @@ -{{ define "main"}} -
-

404 page not found.

-

Go Home

-
-{{ end }} - + + {{ partial "head.html" . }} + + {{ partial "header.html" . }} +
+
+

404 page not found.

+

Go Home

+
+
+ {{ partial "footer.html" . }} + + diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html index 33a1bd0..53a3b4e 100644 --- a/layouts/_default/baseof.html +++ b/layouts/_default/baseof.html @@ -1,12 +1,12 @@ - {{- partial "head.html" . -}} + {{ partial "head.html" . }} - {{- partial "header.html" . -}} + {{ partial "header.html" . }}
- {{- block "main" . }}{{- end }} + {{ block "main" . }}{{ end }}
- {{- partial "footer.html" . -}} + {{ partial "footer.html" . }}