mirror of
https://github.com/adulau/sillon-fictionnel.git
synced 2024-11-23 18:47:12 +00:00
19 lines
681 B
HTML
19 lines
681 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" . }}
|
|
<div class="lead text-center py-2">
|
|
<a href='{{ .Page.Permalink }}' ><i class="fa-solid fa-book-open-reader"></i> Feuilleter le sillon...</a>
|
|
</div>
|
|
{{ end }}
|
|
</div>
|
|
</div>
|
|
<div class="row">
|
|
{{ partial "shared/pagination.html" . }}
|
|
</div>
|
|
</main>
|
|
{{ end }}
|