From b905e7d01bf98cf2d974fb7f8407566df7fe69c1 Mon Sep 17 00:00:00 2001 From: Nicholas Young Date: Sun, 18 Jun 2017 15:22:46 -0600 Subject: [PATCH] [1.0] Update the default sitemap query --- packages/gatsby-plugin-sitemap/src/internals.js | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/packages/gatsby-plugin-sitemap/src/internals.js b/packages/gatsby-plugin-sitemap/src/internals.js index 5ae292c2145f9..6744b56301658 100644 --- a/packages/gatsby-plugin-sitemap/src/internals.js +++ b/packages/gatsby-plugin-sitemap/src/internals.js @@ -22,8 +22,10 @@ export const defaultOptions = { } allMarkdownRemark( limit: 1000, - frontmatter: { - draft: { ne: true } + filter: { + frontmatter: { + draft: { ne: true } + } } ) { edges {