11 lines
281 B
HTML
11 lines
281 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>
|
|
{{ partial "sidebar.html" . }}
|
|
{{ end }}
|