diff --git a/content/posts/lsd/01-intro/index.md b/content/posts/lsd/01-intro/index.md index 30e4bc0..48270e4 100644 --- a/content/posts/lsd/01-intro/index.md +++ b/content/posts/lsd/01-intro/index.md @@ -1,7 +1,7 @@ --- title: Pourquoi écrire ce dossier ? subtitle: D'un intérêt personnel à la recherche universitaire -date: 2023-09-28 +publishdate: 2023-09-28 weight: 1 categories: - Santé diff --git a/themes/chosto/layouts/_default/list.html b/themes/chosto/layouts/_default/list.html index 58497d4..7c669ba 100644 --- a/themes/chosto/layouts/_default/list.html +++ b/themes/chosto/layouts/_default/list.html @@ -8,7 +8,7 @@ {{- /* Custom paginator with only blog posts (e.g. avoid "À propos") which are already written (avoid "incoming" posts of thematic series), ordered from newest to oldest */}} - {{ $paginator := .Paginate (where (where site.RegularPages ".Type" "in" site.Params.mainSections) ".Params.incoming" "!=" true) }} + {{ $paginator := .Paginate (where (where site.RegularPages.ByDate ".Type" "in" site.Params.mainSections) ".Params.incoming" "!=" true).Reverse }} {{ range $paginator.Pages }}
{{ .Render "summary" }}