{{ define "main" }}
  <section>
    <h1>{{ .Title }}</h1>
    {{ .Content }}
  </section>

  <section>
    {{ range .Pages }}
        <a href="{{ .RelPermalink }}">#{{ .LinkTitle }}</a>
    {{ end }}
  </section>
{{ end }}
