Skip to content

Commit

Permalink
πŸ› Add exclude from search for localnews #1970
Browse files Browse the repository at this point in the history
  • Loading branch information
padms committed Nov 6, 2023
1 parent 511825e commit 7b551f8
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions sanityv3/schemas/documents/localNews.ts
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ import {
relatedLinks,
seo,
title,
excludeFromSearch,
} from './news/sharedNewsFields'

type SlugParent = {
Expand Down Expand Up @@ -137,6 +138,7 @@ export default {
content,
iframe,
relatedLinks,
excludeFromSearch,
].filter((e) => e),
preview: {
select: {
Expand Down

0 comments on commit 7b551f8

Please sign in to comment.