Skip to content
Snippets Groups Projects
Commit 87e77961 authored by Régis WITZ's avatar Régis WITZ
Browse files

:children_crossing: Liste les articles chronologiquement sur la page d'accueil

parent 1eb76a7d
No related merge requests found
...@@ -9,7 +9,7 @@ ...@@ -9,7 +9,7 @@
{{ end }} {{ end }}
<div class="posts-list"> <div class="posts-list">
{{ $pag := .Paginate (where site.RegularPages "Type" "in" site.Params.mainSections) }} {{ $pag := .Paginate (where site.RegularPages "Type" "in" site.Params.mainSections).Reverse }}
{{ range $pag.Pages }} {{ range $pag.Pages }}
{{ partial "post_preview" . }} {{ partial "post_preview" . }}
{{ end }} {{ end }}
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment