Exclude page from search
page.excludeFromSearch(shouldExclude)
Exclude the page from internal site search.
Syntax
Parameters
- shouldExclude:
boolean
- Whether the page should be excluded from search engine indexing.
Returns
Promise<null
>
A Promise that resolves to null
.