{{ define "main" }}
<h2>{{ .Title }}</h2>
{{ .Content }}

<ul class="post-list">
    {{ range sort .Pages "Title" }}
    {{ partial "post.html" (dict "page" .) }}
    {{ end }}
</ul>
{{ end }}