Ignore drafts from main list
This commit is contained in:
parent
5d351685f4
commit
dabc3fc0d6
1
app.js
1
app.js
@ -110,6 +110,7 @@ Metalsmith(__dirname)
|
|||||||
first: 'index.html',
|
first: 'index.html',
|
||||||
noPageOne: true,
|
noPageOne: true,
|
||||||
path: 'page:num/index.html',
|
path: 'page:num/index.html',
|
||||||
|
filter: 'draft === undefined',
|
||||||
pageMetadata: {
|
pageMetadata: {
|
||||||
title: 'Posts'
|
title: 'Posts'
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user