geronimo/layouts/index.html

10 lines
250 B
HTML
Raw Normal View History

2021-10-01 16:49:55 +00:00
{{ define "main" }}
<main>
{{ $paginator := .Paginate (where .Site.RegularPages "Type" "in" .Site.Params.mainSections) }}
{{ range $paginator.Pages }}
{{ .Render "summary" }}
{{ end }}
{{ partial "pagination.html" . }}
</main>
{{ end }}