Skip to content

Conversation

@araujogui
Copy link
Member

Description

add custom description metadata generation via front matter

Validation

Find description meta tag

Related Issues

Fixes #8102

Check List

  • I have read the Contributing Guidelines and made commit messages that follow the guideline.
  • I have run pnpm format to ensure the code follows the style guide.
  • I have run pnpm test to check if all tests are passing.
  • I have run pnpm build to check if the website builds without errors.
  • I've covered new added functionality with unit tests if necessary.

Copilot AI review requested due to automatic review settings September 9, 2025 22:10
@araujogui araujogui requested review from a team as code owners September 9, 2025 22:10
@vercel
Copy link

vercel bot commented Sep 9, 2025

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Preview Updated (UTC)
nodejs-org Ready Ready Preview Sep 10, 2025 9:27pm

Copy link
Contributor

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 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 description field 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
Copy link

codecov bot commented Sep 9, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 76.58%. Comparing base (1338a29) to head (19468fd).
⚠️ Report is 7 commits behind head on main.
✅ All tests successful. No failed tests found.

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.
📢 Have feedback on the report? Share it here.

@AugustinMauroy
Copy link
Member

What happend if we branch the "title" of og:image to this "description" string I thinks it's can be coool

@araujogui
Copy link
Member Author

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

@avivkeller avivkeller added this pull request to the merge queue Sep 12, 2025
Merged via the queue into nodejs:main with commit 45cf465 Sep 12, 2025
13 of 14 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.

Add summary of current node version for google

5 participants