Skip to content

Commit 3db67fc

Browse files
committed
feat: add custom description metadata generation
1 parent 1338a29 commit 3db67fc

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

apps/site/next.dynamic.mjs

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

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

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)