fix image meta logic
This commit is contained in:
parent
18fd946172
commit
95da0d0e63
@ -54,8 +54,8 @@ export const BlogSeo = ({ title, summary, date, lastmod, url, tags, images = []
|
||||
images.length === 0
|
||||
? [siteMetadata.socialBanner]
|
||||
: typeof images === 'string'
|
||||
? images
|
||||
: [images]
|
||||
? [images]
|
||||
: images
|
||||
|
||||
const featuredImages = imagesArr.map((img) => {
|
||||
return {
|
||||
|
Loading…
x
Reference in New Issue
Block a user