]> njoseph.me Git - hyde.git/blobdiff - layouts/404.html
Make use of the base template
[hyde.git] / layouts / 404.html
index 8fa1a5959760ee030a19b305eb0b6d8992fb8375..a919514ade829ae2c153f14310e1ffb5038e6770 100644 (file)
@@ -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