about summary refs log tree commit diff
path: root/layouts/_default/list.html
blob: 3079687d65d5d401ceeb7f45de42c4d0722227c2 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
{{ define "main" }}
    <div class="index-content">
        {{ .Content }}
    </div>

    {{ if .Params.reversed }}
    <ol class="articles h-feed" reversed>
    {{ else }}
    <ul>
    {{ end }}
        {{ range .Pages }}
        <li>
            {{ partial "post-summary.html" . }}
        </li>
        {{ end }}
    {{ if .Params.reversed }}
    </ol>
    {{ else }}
    </ul>
    {{ end }}

{{ end }}