Ignore drafts from main list

This commit is contained in:
Marcus Noble 2017-12-31 15:05:28 +00:00
parent 5d351685f4
commit dabc3fc0d6

1
app.js
View File

@ -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'
} }