Skip to content

Examples: Add Open Graph Protocol fields.#33543

Merged
Mugen87 merged 1 commit into
mrdoob:devfrom
Mugen87:dev5
May 9, 2026
Merged

Examples: Add Open Graph Protocol fields.#33543
Mugen87 merged 1 commit into
mrdoob:devfrom
Mugen87:dev5

Conversation

@Mugen87

@Mugen87 Mugen87 commented May 8, 2026

Copy link
Copy Markdown
Collaborator

Fixed #24304.

Description

The PR adds Open Graph Protocol fields to the examples. The spec (https://ogp.me/) defines you must at least include the four required fields title, type, url and image. The values for these fields could be easily derived from existing data. The E2E screenshots we use for the example's sidebar are also used for og:image now.

For the root index.html file, I have used the generic image from #24304 (comment).

This should make links to the examples in social media better formatted.

@Mugen87 Mugen87 added this to the r185 milestone May 9, 2026
@Mugen87 Mugen87 merged commit bae834d into mrdoob:dev May 9, 2026
9 checks passed
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.

Examples: OpenGraph meta tags

1 participant