summaryrefslogtreecommitdiff
path: root/layouts/404.html
diff options
context:
space:
mode:
authordigitalcraftsman <digitalcraftsman@protonmail.com>2017-09-07 21:41:16 +0200
committerdigitalcraftsman <digitalcraftsman@protonmail.com>2017-09-07 21:41:16 +0200
commit82832c1244f2d536c754efb98fbdb02b1844f4c7 (patch)
treeddeb1e83781a1f2793eb56c68d8a20e89fe4557c /layouts/404.html
parent50fec3e32df7b3ef311377db55093fc87bccb446 (diff)
Make use of the base template
Diffstat (limited to 'layouts/404.html')
-rw-r--r--layouts/404.html16
1 files changed, 4 insertions, 12 deletions
diff --git a/layouts/404.html b/layouts/404.html
index 8fa1a59..a919514 100644
--- a/layouts/404.html
+++ b/layouts/404.html
@@ -1,12 +1,4 @@
-{{ partial "head.html" . }}
-<body class="{{ .Site.Params.themeColor }}">
-
-{{ partial "sidebar.html" . }}
-
- <div class="content container">
- <h1>404: Page not found</h1>
- <p class="lead">Sorry, we've misplaced that URL or it's pointing to something that doesn't exist. <a href="{{ .Site.BaseURL }}">Head back home</a> to try finding it again.</p>
- </div>
-
- </body>
-</html>
+{{ define "main" -}}
+<h1>404: Page not found</h1>
+<p class="lead">Sorry, we've misplaced that URL or it's pointing to something that doesn't exist. <a href="{{ .Site.BaseURL }}">Head back home</a> to try finding it again.</p>
+{{- end }} \ No newline at end of file