Skip to content

Commit

Permalink
Exclude pages folder from graphql queries
Browse files Browse the repository at this point in the history
  • Loading branch information
Mark committed Dec 9, 2020
1 parent 4dc3242 commit e0fffb4
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions gatsby-config.js
Original file line number Diff line number Diff line change
Expand Up @@ -86,13 +86,15 @@ const plugins = [
options: {
name: `src`,
path: `${__dirname}/src/content/`,
ignore: [`${__dirname}/src/content/pages/*`],
},
},
{
resolve: `gatsby-source-filesystem`,
options: {
path: `${__dirname}/src/content`,
name: 'markdown-pages',
ignore: [`${__dirname}/src/content/pages/*`],
},
},
{
Expand Down

0 comments on commit e0fffb4

Please sign in to comment.