strapi-layout-plugin 1.0.16 → 1.0.18
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
|
@@ -264,7 +264,7 @@ module.exports = ({ strapi }) => ({
|
|
|
264
264
|
}
|
|
265
265
|
});
|
|
266
266
|
|
|
267
|
-
const siteName = globalLayout?.siteName ||
|
|
267
|
+
const siteName = globalLayout?.siteName || null;
|
|
268
268
|
const language = page.locale || requestedLocale;
|
|
269
269
|
const { sections } = page;
|
|
270
270
|
|
|
@@ -291,9 +291,9 @@ module.exports = ({ strapi }) => ({
|
|
|
291
291
|
fields: finalFields,
|
|
292
292
|
seo: page.seo || globalLayout?.defaultSeo || null,
|
|
293
293
|
placeholders: {
|
|
294
|
-
header: globalLayout?.header || [],
|
|
295
|
-
main: sections || [],
|
|
296
|
-
footer: globalLayout?.footer || []
|
|
294
|
+
'headless-header': globalLayout?.header || [],
|
|
295
|
+
'headless-main': sections || [],
|
|
296
|
+
'headless-footer': globalLayout?.footer || []
|
|
297
297
|
}
|
|
298
298
|
},
|
|
299
299
|
},
|