Skip to content

Commit 4a99b95

Browse files
committed
chore: unused description removed
1 parent acb4a3f commit 4a99b95

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

src/generators/web/utils/processing.mjs

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,6 @@ export async function processJSXEntries(
112112
const results = entries.map(({ data: { api, heading } }) => {
113113
const fileName = `${api}.js`;
114114
const title = `${heading.data.name} | ${titleSuffix}`;
115-
const description = `Documentation for ${heading.data.name} in Node.js v${version.version}`;
116115

117116
// Replace template placeholders with actual content
118117
const renderedHtml = template
@@ -121,8 +120,7 @@ export async function processJSXEntries(
121120
.replace('{{importMap}}', clientBundle.importMap ?? '')
122121
.replace('{{entrypoint}}', `./${fileName}?${randomUUID()}`)
123122
.replace('{{speculationRules}}', SPECULATION_RULES)
124-
.replace('{{ogTitle}}', title)
125-
.replace('{{ogDescription}}', description);
123+
.replace('{{ogTitle}}', title);
126124

127125
// Minify HTML (input must be a Buffer)
128126
const finalHTMLBuffer = HTMLMinifier.minify(Buffer.from(renderedHtml), {});

0 commit comments

Comments
 (0)