From 1b3543e36e0e2d4385df16a8f5226b07b820ff18 Mon Sep 17 00:00:00 2001 From: David Soulayrol Date: Sun, 8 May 2022 22:05:20 +0200 Subject: [PATCH] Correction de la taille des collections du blog. --- scripts/metalsmith.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/metalsmith.js b/scripts/metalsmith.js index e50a8e5..f3f997a 100644 --- a/scripts/metalsmith.js +++ b/scripts/metalsmith.js @@ -56,12 +56,12 @@ module.exports = new Metalsmith(config.paths.projectRoot) })) .use(collections({ archives: { - limit: 3, pattern: 'blog/*/**/*/*.html', reverse: true, sortBy: 'date' }, news: { + limit: 3, pattern: 'blog/*/**/*.html', reverse: true, sortBy: 'date'