sillon-fictionnel/themes/writeonly/layouts/index.html

20 lines
681 B
HTML
Raw Normal View History

2024-01-28 13:23:24 +00:00
{{ 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>&#8200;Feuilleter le sillon...</a>
</div>
{{ end }}
2024-01-28 13:23:24 +00:00
</div>
</div>
<div class="row">
2024-03-10 14:27:22 +00:00
{{ partial "shared/pagination.html" . }}
2024-01-28 13:23:24 +00:00
</div>
</main>
{{ end }}