aboutsummaryrefslogtreecommitdiff
path: root/themes/terrassa/layouts/_default/list.html
blob: c01a3b6f1023c0f7cf91f0e191c4f82091e598e5 (plain)
1
2
3
4
5
6
7
8
9
10
11
{{ define "main" }}
<main class="content">
    {{ $paginator := .Paginate (where .Data.Pages.ByDate.Reverse "Type" "posts") }}

    {{ range $paginator.Pages }}
    {{ .Render "card" }}
    {{ end }}

    {{ template "_internal/pagination.html" . }}
</main>
{{ end }}