diff --git a/core/frontend/meta/description.js b/core/frontend/meta/description.js index 2f92bc34e6..bcc073d95e 100644 --- a/core/frontend/meta/description.js +++ b/core/frontend/meta/description.js @@ -36,6 +36,14 @@ function getDescription(data, root, options) { } else { description = data.post.meta_description || ''; } + } else if (_.includes(context, 'page') && data.post) { + // @NOTE: + if (options && options.property) { + postSdDescription = options.property + '_description'; + description = data.post[postSdDescription] || ''; + } else { + description = data.post.meta_description || ''; + } } else if (_.includes(context, 'page') && data.page) { if (options && options.property) { postSdDescription = options.property + '_description';