Skip to content

Conversation

hxrshxz
Copy link

@hxrshxz hxrshxz commented Oct 18, 2025

Fixes #3438

Changes

Added Open Graph and Twitter Card meta tags to enable social media preview cards

Verification

  • No linting errors (npm run lint)
  • No test errors (npm run test)
  • Up to date with develop branch
  • Descriptively named feature branch
  • Meets accessibility guidelines

@Copilot Copilot AI review requested due to automatic review settings October 18, 2025 16:54
Copy link

welcome bot commented Oct 18, 2025

🎉 Thanks for opening this pull request! Please check out our contributing guidelines if you haven't already.

Copy link

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This PR adds Open Graph and Twitter Card meta tags to improve social media sharing previews for the p5.js Web Editor. When links are shared on platforms like Facebook, Twitter, or LinkedIn, these tags enable rich preview cards with titles, descriptions, and images.

  • Added Open Graph meta tags (og:title, og:description, og:image, og:url, og:type) to both the main index and project-specific pages
  • Added Twitter Card meta tags (twitter:card, twitter:title, twitter:description, twitter:image) to both page templates
  • Customized the og:title and twitter:title for project pages to include the project name and username

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

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.

https://editor.p5js.org/ does not have an Open Graph image set up

1 participant