diff --git a/src/utils/toArticleMetaData.ts b/src/utils/toArticleMetaData.ts index c9cf2669..e9df8b02 100644 --- a/src/utils/toArticleMetaData.ts +++ b/src/utils/toArticleMetaData.ts @@ -216,6 +216,18 @@ export const toArticleMetaData = ( } break; } + case 'contact-block': + case 'campaign-block': + if (curr.data.image) { + imageMetaData(curr.data.image, acc); + } + break; + case 'key-figure': + case 'blog-post': + if (curr.data.metaImage) { + imageMetaData(curr.data.metaImage, acc); + } + break; } return acc; },