From 75f337b7941be44b272b33bfd4a918f61ba0970f Mon Sep 17 00:00:00 2001 From: spences10 Date: Wed, 10 Jan 2018 18:44:48 +0000 Subject: [PATCH] filter unpublished --- gatsby-node.js | 1 + 1 file changed, 1 insertion(+) diff --git a/gatsby-node.js b/gatsby-node.js index fe3ff4408..59bf9d62c 100644 --- a/gatsby-node.js +++ b/gatsby-node.js @@ -51,6 +51,7 @@ exports.createPages = ({ boundActionCreators, graphql }) => { { allMarkdownRemark( sort: { order: ASC, fields: [frontmatter___date] } + filter: { frontmatter: { published: { eq: true } } } limit: 1000 ) { edges {