Use authorDetails to pull JSON-LD authors names

This commit is contained in:
Ahmad Al Maaz
2021-06-26 14:35:27 +03:00
parent 8d16a0c255
commit e92b7d2737
2 changed files with 8 additions and 5 deletions

View File

@ -19,7 +19,11 @@ export default function PostLayout({ frontMatter, authorDetails, next, prev, chi
return (
<SectionContainer>
<BlogSeo url={`${siteMetadata.siteUrl}/blog/${slug}`} {...frontMatter} />
<BlogSeo
url={`${siteMetadata.siteUrl}/blog/${slug}`}
authorDetails={authorDetails}
{...frontMatter}
/>
<article>
<div className="xl:divide-y xl:divide-gray-200 xl:dark:divide-gray-700">
<header className="pt-6 xl:pb-6">