@decocms/start 0.40.0 → 0.40.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/src/routes/cmsRoute.ts +7 -4
package/package.json
CHANGED
package/src/routes/cmsRoute.ts
CHANGED
|
@@ -444,10 +444,13 @@ function buildHead(
|
|
|
444
444
|
meta.push({ name: "description", content: description });
|
|
445
445
|
}
|
|
446
446
|
|
|
447
|
-
// Robots
|
|
448
|
-
|
|
449
|
-
|
|
450
|
-
|
|
447
|
+
// Robots — always emit a directive so crawlers see an explicit signal
|
|
448
|
+
meta.push({
|
|
449
|
+
name: "robots",
|
|
450
|
+
content: noIndex
|
|
451
|
+
? "noindex, nofollow"
|
|
452
|
+
: "index, follow, max-image-preview:large, max-snippet:-1, max-video-preview:-1",
|
|
453
|
+
});
|
|
451
454
|
|
|
452
455
|
// Open Graph
|
|
453
456
|
meta.push({ property: "og:title", content: title });
|