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