Feat: Inject dynamic SEO meta tags and JSON-LD schema - #598
Feat: Inject dynamic SEO meta tags and JSON-LD schema#598DebasmitaBose0 wants to merge 1 commit into
Conversation
|
@DebasmitaBose0 is attempting to deploy a commit to the komalsony234-1530's projects Team on Vercel. A member of the Team first needs to authorize it. |
There was a problem hiding this comment.
Pull request overview
Note
Copilot was unable to run its full agentic suite in this review.
Adds Open Graph metadata to the project detail page to improve link previews when the page is shared.
Changes:
- Add
og:titlemeta tag usingproject.title - Add
og:descriptionmeta tag usingproject.description
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
| <meta property="og:title" content="{{ project.title }}" /> | ||
| <meta property="og:description" content="{{ project.description }}" /> |
| <meta property="og:title" content="{{ project.title }}" /> | ||
| <meta property="og:description" content="{{ project.description }}" /> |
komalharshita
left a comment
There was a problem hiding this comment.
Good direction overall — adding dynamic SEO metadata to project pages is a meaningful improvement for social sharing and discoverability.
A few important issues should be addressed before merge:
-
The PR title mentions JSON-LD schema support, but no actual JSON-LD structured data was implemented yet.
-
Current Open Graph support is incomplete. Right now only:
og:titleog:description
were added.
Important tags like:
og:typeog:urlog:imagetwitter:card- Twitter metadata
are still missing.
-
project.descriptionis injected directly into HTML attributes and should ideally be sanitized/truncated for safer preview rendering. -
Fallback values should exist if project title/description are missing.
-
Please include validation/testing evidence (social preview screenshots or validator results) for SEO-related changes.
The feature idea is good, but the implementation needs to be completed/refined before approval.
|
@DebasmitaBose0 use of Copilot AI or any other AI agents/tools is not allowed while opening PRs for GSSoC. This PR contains visible Copilot-generated review suggestions and AI-assisted code patterns in the commit/review flow, which goes against the contribution guidelines for this repository/program. Please make sure all future contributions are:
Repeated violations may lead to PR disqualification from the program. Please follow the GSSoC contribution rules strictly going forward. |
Closed #597
Problem:
The
project.htmltemplate does not feature dynamic Open Graph (OG) meta tags or JSON-LD schema markup. When a specific project is shared on social media or crawled by search engines, it falls back to generic site metadata.Acceptance Criteria:
og:title,og:description)<meta>tags into the document<head>.