From 7a4c0e53ce09a4bce69fba1ca466d3f6018be54c Mon Sep 17 00:00:00 2001 From: Jerel Miller Date: Wed, 12 Aug 2020 21:57:14 -0700 Subject: [PATCH] fix: filter out certain document types to match the in product experience --- gatsby-config.js | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/gatsby-config.js b/gatsby-config.js index 3e54643bd..4f9c0ec13 100644 --- a/gatsby-config.js +++ b/gatsby-config.js @@ -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 }) =>