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
+1 -1
View File
@@ -47,7 +47,7 @@ import { buildLocalizedPath, getDefaultLocale, isValidLocale } from '../i18n/ind
if (doc._status && doc._status !== 'published') {
continue;
}
if (doc.meta?.noindex) {
if (doc.noindex || doc.meta?.noindex) {
continue;
}
const title = typeof doc.title === 'string' ? doc.title : undefined;
File diff suppressed because one or more lines are too long