Skip to content
This repository has been archived by the owner on Apr 24, 2020. It is now read-only.

Commit

Permalink
filter unpublished
Browse files Browse the repository at this point in the history
  • Loading branch information
spences10 committed Jan 10, 2018
1 parent a48eb77 commit 75f337b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions gatsby-node.js
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@ exports.createPages = ({ boundActionCreators, graphql }) => {
{
allMarkdownRemark(
sort: { order: ASC, fields: [frontmatter___date] }
filter: { frontmatter: { published: { eq: true } } }
limit: 1000
) {
edges {
Expand Down

0 comments on commit 75f337b

Please sign in to comment.