aboutsummaryrefslogtreecommitdiffstats
path: root/layouts/index.html
blob: 172e87a8d9720e37c7ebd443b158ccb0c3dbb2a0 (plain)
1
2
3
4
5
6
7
8
9
10
{{ 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 }}