Correction de la taille des collections du blog.
This commit is contained in:
@@ -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'
|
||||||
|
|||||||
Reference in New Issue
Block a user