From 0b8bff6ea8663c523b4ec6c9937269ea7336809b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?HUC=20St=C3=A9phane?= Date: Mon, 25 Jan 2021 03:53:37 +0100 Subject: [PATCH] Fix: index.gmi, use paginator --- layouts/index.gmi | 2 +- public/atom.xml | 2 +- public/rss.xml | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/layouts/index.gmi b/layouts/index.gmi index 82ee032..05e30ef 100644 --- a/layouts/index.gmi +++ b/layouts/index.gmi @@ -1,6 +1,6 @@ La communauté francophone "{{ .Site.Title | safeHTML }}" vous propose la lecture des articles suivants : -{{ range (where .Site.RegularPages "Section" "posts") }} +{{ range .Paginator.Pages }} {{- if .OutputFormats.Get "gemini" }} => {{ replace .Permalink "/gemini" "" 1 }} {{ .Date.Format "January 2, 2006" }}: {{ .Title | safeHTML }}{{ end }}{{ end }} diff --git a/public/atom.xml b/public/atom.xml index 390db95..aaa9ab7 100644 --- a/public/atom.xml +++ b/public/atom.xml @@ -4,7 +4,7 @@ OpenBSD Pour Tous 🐡 OBSD4* : Site de la communauté francophone autour d'OpenBSD. - 2021-01-25T02:10:48+01:00 + 2021-01-25T03:37:37+01:00 https://openbsd.fr.eu.org/ diff --git a/public/rss.xml b/public/rss.xml index bc2f2e9..2e6745d 100644 --- a/public/rss.xml +++ b/public/rss.xml @@ -23,7 +23,7 @@ [CC 0](https://creativecommons.org/publicdomain/zero/1.0/deed.fr) - Mon, 25 Jan 2021 02:10:48 +0100 + Mon, 25 Jan 2021 03:37:37 +0100