{{ define "main" }}
<main>
<ul>
{{ range .Pages }}
<li>
<a href="{{ .Permalink }}">{{ .Title | markdownify }}</a>
</li>
{{ end }}
</ul>
{{ with .Content }}
<section>
{{ . }}
</section>
</main>