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

<ul class="post-list">
    {{ range .Pages.ByDate.Reverse }}
    {{ partial "post.html" . }}
    {{ end }}
</ul>
{{ end }}