{{ define "main" }} <main class="container" aria-role="main"> <header class="header"> <h1>{{ .Title }}</h1> </header> <section> <ul> {{ range .Pages }} <li> <a href="{{ .Permalink }}">{{ .Title }}</a> </li> {{ end }} </ul> </section> </main> {{ end }}