{{ define "header" }}
  {{ partial "header.html" . }}
{{ end }}

{{ define "main" }}
<header class="page">
  <h1>{{ .Title }}</h1>
</header>

<ul>
{{- range .Pages -}}
  <li><a href="{{ .RelPermalink }}">{{ .Title }}</a></li>
{{- end -}}
</ul>
{{ end }}

{{ define "footer" }}
  {{ partial "footer.html" . }}
{{ end }}
