-
-
Notifications
You must be signed in to change notification settings - Fork 6.4k
feat: add custom description metadata generation #8159
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
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
There was a problem hiding this 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 support for custom page description metadata generation through front matter in MDX files. Previously, pages relied on default metadata; now authors can specify custom descriptions directly in the front matter to improve SEO and provide more accurate page summaries.
- Added
descriptionfield support in MDX front matter processing - Enhanced metadata generation logic to use custom descriptions when available
- Updated the End-of-Life page with a descriptive summary
Reviewed Changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.
| File | Description |
|---|---|
| apps/site/pages/en/eol.mdx | Added custom description to front matter for better page metadata |
| apps/site/next.dynamic.mjs | Implemented logic to extract and use description from front matter data |
Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #8159 +/- ##
=======================================
Coverage 76.58% 76.58%
=======================================
Files 115 115
Lines 9602 9602
Branches 322 322
=======================================
Hits 7354 7354
Misses 2247 2247
Partials 1 1 ☔ View full report in Codecov by Sentry. |
d500427 to
3db67fc
Compare
|
What happend if we branch the "title" of og:image to this "description" string I thinks it's can be coool |
Sorry @AugustinMauroy, i didn't understand what you meant here |
Description
add custom description metadata generation via front matter
Validation
Find description meta tag
Related Issues
Fixes #8102
Check List
pnpm formatto ensure the code follows the style guide.pnpm testto check if all tests are passing.pnpm buildto check if the website builds without errors.