smol/layouts/index.html

10 lines
250 B
HTML
Raw Permalink Normal View History

{{ define "main" }}
2016-10-14 20:41:10 +00:00
<main>
{{ $paginator := .Paginate (where .Site.RegularPages "Type" "in" .Site.Params.mainSections) }}
2016-10-14 20:41:10 +00:00
{{ range $paginator.Pages }}
{{ .Render "summary" }}
2016-10-14 20:41:10 +00:00
{{ end }}
{{ partial "pagination.html" . }}
</main>
{{ end }}