SEO: project overrides (sitemapEntries, sitemapOptions, underConstructionSeo, searchSettings fn); seo-check follows sitemap index

- createContentHelpers: sitemapEntries transform has the last word,
  sitemapOptions passes maxUrls/cacheControl/memoSeconds to sitemapRoute,
  underConstructionSeo: false turns the construction filter off
- seo.searchSettings accepts a function over the default fields
- ipal-seo-check: reads sitemap index parts, reports 503 sitemap, warns on
  missing Google/Bing verification (skip key: verification)
- docs/seo.md updated

Co-Authored-By: Claude Opus 5.5 <[email protected]>
This commit is contained in:
Radosław Smoliński
2026-10-22 17:13:57 +02:00
co-authored by Claude Opus 5.5
parent 94e563055f
commit dc761164d9
8 changed files with 117 additions and 18 deletions
+5 -2
View File
@@ -39,9 +39,12 @@ export type SeoOption = {
/**
* Site Settings → "Search & AI" tab: Search Console / Bing / Yandex
* verification, AI crawler policy for robots.txt (getRobots), llms.txt note.
* On by default (empty fields change nothing); false removes the tab.
* On by default (empty fields change nothing); false removes the tab; a
* function gets the plugin's fields and returns the tab's fields (add, drop,
* relabel). Keep the field names the readers use (searchVerification,
* aiCrawlers, llmsIntro) or read your own fields in your routes.
*/
searchSettings?: false
searchSettings?: ((defaults: Field[]) => Field[]) | false
}
/**