Skip to content

Commit d500427

Browse files
committed
feat: add custom description metadata generation
1 parent d2e9acd commit d500427

2 files changed

Lines changed: 5 additions & 0 deletions

File tree

apps/site/next.dynamic.mjs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -207,6 +207,10 @@ const getDynamicRouter = async () => {
207207
? `${siteConfig.title}${data.title}`
208208
: siteConfig.title;
209209

210+
if (data.description) {
211+
pageMetadata.description = data.description;
212+
}
213+
210214
// Default Twitter Title for the page
211215
pageMetadata.twitter.title = pageMetadata.title;
212216

apps/site/pages/en/eol.mdx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
---
22
title: End-Of-Life
33
layout: article
4+
description: Understand Node.js End-of-Life, what it means for security, tooling, and compliance, plus EOL version details and commercial support options.
45
---
56

67
# End-Of-Life (EOL)

0 commit comments

Comments
 (0)