16 lines
352 B
HTML
16 lines
352 B
HTML
{{ define "title" }}{{ site.Title }}{{ end }}
|
|
|
|
{{ define "main" -}}
|
|
<main class="main layout__main">
|
|
{{ .Content }}
|
|
|
|
{{ $pages := where site.RegularPages "Type" "in" site.Params.mainSections -}}
|
|
{{ $paginator := .Paginate $pages -}}
|
|
{{ range $paginator.Pages -}}
|
|
{{ .Render "summary" }}
|
|
{{ end -}}
|
|
|
|
{{ partial "pagination.html" . }}
|
|
</main>
|
|
{{ end -}}
|