10 lines
250 B
HTML
10 lines
250 B
HTML
{{ define "main" }}
|
|
<main>
|
|
{{ $paginator := .Paginate (where .Site.RegularPages "Type" "in" .Site.Params.mainSections) }}
|
|
{{ range $paginator.Pages }}
|
|
{{ .Render "summary" }}
|
|
{{ end }}
|
|
{{ partial "pagination.html" . }}
|
|
</main>
|
|
{{ end }}
|