1
mirror of https://github.com/jakejarvis/jarv.is.git synced 2025-07-21 11:21:16 -04:00

fix google rich results warning

This commit is contained in:
2024-01-11 11:15:16 -05:00
parent a27424ffcd
commit 17c09f71b2
3 changed files with 58 additions and 61 deletions

View File

@@ -120,7 +120,10 @@ export const socialProfileJsonLd: SocialProfileJsonLdProps = {
// Just the basic items applicable to all notes, extended by pages/notes/[slug].tsx
// https://github.com/garmeeh/next-seo#article-1
export const articleJsonLd: Pick<ArticleJsonLdProps, "authorName" | "publisherName" | "publisherLogo"> = {
authorName: [config.authorName],
authorName: {
name: config.authorName,
url: `${process.env.BASE_URL}/`,
},
publisherName: config.siteName,
publisherLogo: `${process.env.BASE_URL}${meJpg.src}`,
};