From 87e77961d83e4b498dba174fc92973d15bb0a44b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9gis=20Witz?= <rwitz@unistra.fr> Date: Fri, 20 May 2022 11:12:55 +0200 Subject: [PATCH] =?UTF-8?q?=F0=9F=9A=B8=20Liste=20les=20articles=20chronol?= =?UTF-8?q?ogiquement=20sur=20la=20page=20d'accueil?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- themes/beautifulhugo/layouts/index.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/themes/beautifulhugo/layouts/index.html b/themes/beautifulhugo/layouts/index.html index cc15000..8d5f34a 100644 --- a/themes/beautifulhugo/layouts/index.html +++ b/themes/beautifulhugo/layouts/index.html @@ -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 }} -- GitLab