aboutsummaryrefslogtreecommitdiffstats
path: root/layouts/index.html
blob: b4eaea054b4b532696d1a300dae43efb4336df56 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
{{ define "main" }}
<div id="content" class="mw7 center">

    <h1 class="f1">{{.Title}}</h1>

    <h2 class="f2">Posts</h2>
    <!-- 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 }}