Really fix opposites order in homepage and section pages
parent
70ba8d0cb1
commit
46c7c5df8d
|
@ -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é
|
||||
|
|
|
@ -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 }}
|
||||
<div class="column is-variable is-one-third py-0 my-4">
|
||||
{{ .Render "summary" }}
|
||||
|
|
Loading…
Reference in New Issue