mirror of
https://github.com/adulau/sillon-fictionnel.git
synced 2024-12-24 01:26:02 +00:00
17 lines
489 B
HTML
17 lines
489 B
HTML
|
{{ define "main" }}
|
||
|
<main class="container py-5 flex-grow-1">
|
||
|
<div class="row justify-content-center">
|
||
|
<div class="col-12 mh-100">
|
||
|
{{ $mainPages := where .Site.RegularPages "Type" "in" site.Params.mainSections }}
|
||
|
{{ $pagination := .Paginate $mainPages }}
|
||
|
{{ range $pagination.Pages }}
|
||
|
{{ partial "shared/post-item.html" . }}
|
||
|
{{ end }}
|
||
|
</div>
|
||
|
</div>
|
||
|
<div class="row">
|
||
|
{{ template "_internal/pagination.html" . }}
|
||
|
</div>
|
||
|
</main>
|
||
|
{{ end }}
|