~gg/blog-theme

ref: 919086d560f191233ff838dd54a8f8f8a289b7e3 blog-theme/layouts/index.html -rw-r--r-- 247 bytes
919086d5 — Gui Goncalves Parameterize copyright info 8 months ago
                                                                                
1
2
3
4
5
6
7
8
9
{{ define "main" }}
<main>
  {{ $paginator := .Paginate (where .Site.RegularPages "Type" "in" .Site.Params.mainSections) }}
  {{ range $paginator.Pages }}
  {{ .Render "summary" }}
  {{ end }}
  {{ partial "pagination.html" . }}
</main>
{{ end }}