noindex fix

This commit is contained in:
2026-10-12 14:35:51 +02:00
parent 5c466b664c
commit 2665cfa7b6
22 changed files with 110 additions and 145 deletions
+3
View File
@@ -43,6 +43,8 @@ type PageMetadataContext = {
type DocShape = {
id: number | string
meta?: null | SeoMeta
/** Top-level noindex checkbox (buildNoindexField) — the field that persists. */
noindex?: boolean | null
/** The document's own title (page name), used as the fallback page title. */
title?: null | string
}
@@ -153,6 +155,7 @@ export function createPageMetadata(args: CreatePageMetadataArgs) {
...base,
imageUrl: resolveOgImage(doc),
meta: doc.meta,
noindex: doc.noindex,
pageTitle: doc.title,
prefix,
query,