{{ define "main" }}
<div id="content" class="mw7 center">

    <!-- Note that .Data.Pages is the equivalent of .Site.Pages on the homepage template. -->

    {{ range where .Data.Pages "Section" "post" }}
        {{ .Render "summary" }}
    {{ end }}
</div>
{{ end }}