diff --git a/packages/components/src/engine/metadata.ts b/packages/components/src/engine/metadata.ts index 96c357c2d2..0b0f8ffb65 100644 --- a/packages/components/src/engine/metadata.ts +++ b/packages/components/src/engine/metadata.ts @@ -38,6 +38,13 @@ export const getMetadata = (props: IsomerPageSchemaType) => { props.layout === "collection" ) { metadata.description = props.page.subtitle + } else if ( + metadata.description === undefined && + props.layout === "homepage" + ) { + metadata.description = props.content.find( + (item) => item.type === "hero", + )?.subtitle } if (props.page.permalink === "/") {