Website Summary Files Commits Branches @commit @diff @stats
path: root / website / themes / base16 / layouts / _default / list.html
blob: d70204d34cb191dff9c0608973613c6c62f19337 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
{{ partial "header.html" . }}
{{ $paginator := .Paginate (where .Data.Pages "Section" "post") (or .Site.Params.paginate 3) }}
<main role="main" class="article-list">
  <h1 class="list-title">{{ .Title }}</h1>
  {{ range $paginator.Pages }}
    {{ partial "article-list-item.html" . }}
  {{ end }}
</main>
{{ partial "paginator.html" $paginator }}
{{ partial "footer.html" . }}