20 lines
475 B
HTML
20 lines
475 B
HTML
{{ define "title" }}{{ .Site.Title }}{{ end }}
|
|
|
|
{{ define "main" -}}
|
|
<main class="main layout__main">
|
|
<article class="{{ with .Section }}section-{{ . | urlize }} {{ end }}single-view">
|
|
<div class="content">
|
|
{{ .Content }}
|
|
</div>
|
|
</article>
|
|
|
|
{{ $pages := where .Site.RegularPages "Type" "in" .Site.Params.mainSections }}
|
|
{{ $paginator := .Paginate $pages -}}
|
|
{{ range $paginator.Pages -}}
|
|
{{ .Render "summary"}}
|
|
{{ end -}}
|
|
|
|
{{ partial "pagination.html" . }}
|
|
</main>
|
|
{{ end }}
|