Skip to content

Commit

Permalink
fix: filter out certain document types to match the in product experi…
Browse files Browse the repository at this point in the history
…ence
  • Loading branch information
jerelmiller committed Aug 13, 2020
1 parent 8232332 commit 7a4c0e5
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions gatsby-config.js
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,15 @@ module.exports = {
search_fields: {
page: ['tags^10', 'body^5', 'title^1.5', '*'],
},
filters: {
page: {
document_type: [
'!views_page_menu',
'!term_page_api_menu',
'!term_page_landing_page',
],
},
},
};
},
filterNode: ({ node }) =>
Expand Down

0 comments on commit 7a4c0e5

Please sign in to comment.