From e0fffb44db7e807dab414f4248123c2e6ee87ebe Mon Sep 17 00:00:00 2001 From: Mark Date: Tue, 8 Dec 2020 13:18:36 +0200 Subject: [PATCH] Exclude pages folder from graphql queries --- gatsby-config.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/gatsby-config.js b/gatsby-config.js index 33a0f6ecaa..a5a9ab4960 100644 --- a/gatsby-config.js +++ b/gatsby-config.js @@ -86,6 +86,7 @@ const plugins = [ options: { name: `src`, path: `${__dirname}/src/content/`, + ignore: [`${__dirname}/src/content/pages/*`], }, }, { @@ -93,6 +94,7 @@ const plugins = [ options: { path: `${__dirname}/src/content`, name: 'markdown-pages', + ignore: [`${__dirname}/src/content/pages/*`], }, }, {