File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff 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 ) , { } ) ;
You can’t perform that action at this time.
0 commit comments