Make use of the base template

This commit is contained in:
digitalcraftsman 2017-09-07 21:41:16 +02:00
parent 50fec3e32d
commit 82832c1244
5 changed files with 42 additions and 69 deletions

View 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 }}