smolsite/layouts/index.html

11 lines
281 B
HTML
Raw 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>
{{ partial "sidebar.html" . }}
{{ end }}