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

docs: use og:image instead of og:image:url #69962

Merged
merged 1 commit into from
Sep 11, 2024

Conversation

Marukome0743
Copy link
Contributor

Summary

Update og:image from og:image:url

Description

At #46570, defined the render og:image with below code.

function getMetaKey(prefix: string, key: string) {
// Use `twitter:image` and `og:image` instead of `twitter:image:url` and `og:image:url`
// to be more compatible as it's a more common format
if ((prefix === 'og:image' || prefix === 'twitter:image') && key === 'url') {
return prefix
}

Improving Documentation

x-ref: #46570

@ijjk ijjk added the Documentation Related to Next.js' official documentation. label Sep 11, 2024
@ijjk
Copy link
Member

ijjk commented Sep 11, 2024

Allow CI Workflow Run

  • approve CI run for commit: 16112ad

Note: this should only be enabled once the PR is ready to go and can only be enabled by a maintainer

@Marukome0743 Marukome0743 reopened this Sep 11, 2024
@huozhi huozhi added the CI approved Approve running CI for fork label Sep 11, 2024
@huozhi huozhi merged commit d805a7c into vercel:canary Sep 11, 2024
39 checks passed
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Sep 27, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
CI approved Approve running CI for fork Documentation Related to Next.js' official documentation. locked
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants