@decocms/blocks 7.48.2 → 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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@decocms/blocks",
3
- "version": "7.48.2",
3
+ "version": "7.48.4",
4
4
  "type": "module",
5
5
  "engines": {
6
6
  "node": ">=24"
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 {};