blog/themes/xsfx/layouts/index.html

13 lines
326 B
HTML

{{ define "main" }}
<main>
{{ $paginator := .Paginate (where .Site.RegularPages "Type" "in" .Site.Params.mainSections) }}
{{ range $paginator.Pages }}
<article class="h-entry">
{{ partial "article.html" . }}
<hr>
</article>
{{ end }}
{{ partial "pagination.html" . }}
</main>
{{ end }}