Skip to content
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

Merged
merged 2 commits into from
May 20, 2024
Merged

Conversation

seinhorn
Copy link
Contributor

No description provided.

@github-actions github-actions bot temporarily deployed to fix/json-ld-article-image May 15, 2024 12:38 Destroyed
Copy link
Contributor

github-actions bot commented May 15, 2024

⚡️🏠 Lighthouse report

Here's the summary:

Path Performance Accessibility Best practices SEO PWA
/fix/json-ld-article-image/ 🟢 91 🟢 90 🟢 100 🟢 92 🟠 70
/fix/json-ld-article-image/fr/authors/ajacquemin/ 🟠 73 🟢 90 🟢 100 🟢 92 🟠 70
/fix/json-ld-article-image/fr/comment-construire-site-web-avec-nextjs/ 🟠 76 🟠 80 🟢 100 🟢 100 🟠 70
/fix/json-ld-article-image/fr/nestjs-le-cycle-de-vie-dune-requete/ 🟠 72 🟠 80 🟢 100 🟢 97 🟠 70

Here's the audits:

Path FCP
1800 <=
LCP
2500 <=
Speed Index
3400 <=
TTI
3800 <=
TBT
200 <=
CLS
0.1 <=
/fix/json-ld-article-image/ 🔴 2242 🟢 2242 🟢 2272 🔴 4028 🟢 7 🔴 0.12
/fix/json-ld-article-image/fr/authors/ajacquemin/ 🔴 2233 🟢 2233 🟢 2756 🔴 4021 🟢 7 🟢 0.01
/fix/json-ld-article-image/fr/comment-construire-site-web-avec-nextjs/ 🔴 2362 🔴 2804 🟢 2422 🔴 4424 🟢 7 🟢 0.03
/fix/json-ld-article-image/fr/nestjs-le-cycle-de-vie-dune-requete/ 🔴 1987 🟢 1987 🟢 2422 🔴 4196 🟢 7 🟢 0.04

@@ -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],
Copy link
Contributor

@KevinDung KevinDung May 15, 2024

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

Copy link
Contributor Author

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 ;)

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@KevinDung KevinDung self-requested a review May 15, 2024 12:56
@seinhorn seinhorn deployed to 1127/merge May 15, 2024 14:03 — with GitHub Actions Active
@github-actions github-actions bot temporarily deployed to fix/json-ld-article-image May 15, 2024 14:07 Destroyed
@ElevenTom ElevenTom merged commit ad475fe into master May 20, 2024
8 checks passed
@ElevenTom ElevenTom deleted the fix/json-ld-article-image branch May 20, 2024 13:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants