upstream #1

Merged
jblu merged 1007 commits from upstream into main 2024-11-04 22:35:57 -06:00
Showing only changes of commit 331461be12 - Show all commits

View File

@ -42,12 +42,20 @@ export const BlogSeo = ({ authorDetails, title, summary, date, lastmod, url, ima
} }
}) })
const authorList = authorDetails.map((author) => { let authorList
return { if (authorDetails) {
authorList = authorDetails.map((author) => {
return {
'@type': 'Person',
name: author.name,
}
})
} else {
authorList = {
'@type': 'Person', '@type': 'Person',
name: author.name, name: siteMetadata.author,
} }
}) }
const structuredData = { const structuredData = {
'@context': 'https://schema.org', '@context': 'https://schema.org',