Make use of the base template
This commit is contained in:
parent
50fec3e32d
commit
82832c1244
5 changed files with 42 additions and 69 deletions
|
@ -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 }}
|
Loading…
Add table
Add a link
Reference in a new issue