noindex fix
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user