refactoring page layouts

This commit is contained in:
Huy Tran 2018-01-24 16:42:50 +07:00
parent cf95cacd15
commit 88d2987fc2
20 changed files with 346 additions and 235 deletions

View file

@ -1,4 +1,11 @@
{{ define "main" -}}
{{ define "header" -}}
{{ partial "header.html" . }}
{{- end }}
{{ define "content" -}}
<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 }}
{{ define "footer" -}}
{{- end }}