feat(SW-1885): Added noindex/nofollow to pages with searchparams when generating metadata to avoid duplicate content issues

Approved-by: Linus Flood
This commit is contained in:
Erik Tiekstra
2025-03-17 13:15:13 +00:00
parent e530905d8d
commit 05addfa0bb
4 changed files with 56 additions and 50 deletions
@@ -120,7 +120,7 @@ export const metadataSchema = rawMetadataSchema.transform(async (data) => {
if (noIndex) {
metadata.robots = {
index: false,
follow: true,
follow: false,
}
}
return metadata