@decocms/blocks 7.48.3 → 7.48.4
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/cms/loader.ts +1 -1
package/package.json
CHANGED
package/src/cms/loader.ts
CHANGED
|
@@ -403,7 +403,7 @@ export function getSiteSeo(): {
|
|
|
403
403
|
noIndexing?: boolean;
|
|
404
404
|
} {
|
|
405
405
|
const blocks = loadBlocks();
|
|
406
|
-
const site = blocks["Site"] as Record<string, unknown> | undefined;
|
|
406
|
+
const site = (blocks["Site"] ?? blocks["site"]) as Record<string, unknown> | undefined;
|
|
407
407
|
if (!site) return {};
|
|
408
408
|
const seo = site.seo as Record<string, unknown> | undefined;
|
|
409
409
|
if (!seo) return {};
|