-
Notifications
You must be signed in to change notification settings - Fork 44
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix: image field name in json ld #1127
Conversation
⚡️🏠 Lighthouse reportHere's the summary:
Here's the audits:
|
src/hooks/useSeoPost.ts
Outdated
@@ -45,7 +45,7 @@ export const useSeoPost = (post: PostPageData): void => { | |||
name: author.name, | |||
url: generatePath(PATHS.AUTHOR, { authorUsername: author.username, lang: i18n.language }), | |||
})), | |||
images: [coverUrl], | |||
image: [coverUrl], |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
hum le typage n'est pas bon ici non ? image attend un type ImageObject
ou URL
et là c'est un tableau avec une string
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
le problème devrait être résolu... enfin, j'espère ;)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Array of strings works as well it seems: https://developers.google.com/search/docs/appearance/structured-data/article
No description provided.