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
Branches
No related merge requests found
......@@ -9,7 +9,7 @@
{{ end }}
<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 }}
{{ partial "post_preview" . }}
{{ 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