Correction de la taille des collections du blog.

This commit is contained in:
David Soulayrol
2022-05-08 22:05:20 +02:00
parent bdfc466b32
commit 39944c41df

View File

@@ -56,12 +56,12 @@ module.exports = new Metalsmith(config.paths.projectRoot)
})) }))
.use(collections({ .use(collections({
archives: { archives: {
limit: 3,
pattern: 'blog/*/**/*/*.html', pattern: 'blog/*/**/*/*.html',
reverse: true, reverse: true,
sortBy: 'date' sortBy: 'date'
}, },
news: { news: {
limit: 3,
pattern: 'blog/*/**/*.html', pattern: 'blog/*/**/*.html',
reverse: true, reverse: true,
sortBy: 'date' sortBy: 'date'