File tree Expand file tree Collapse file tree 3 files changed +9
-2
lines changed
Expand file tree Collapse file tree 3 files changed +9
-2
lines changed Original file line number Diff line number Diff line change @@ -85,7 +85,7 @@ export default {
8585 const generatedAllTemplate = apiTemplate
8686 . replace ( '__ID__' , 'all' )
8787 . replace ( / _ _ F I L E N A M E _ _ / g, 'all' )
88- . replace ( ' __SECTION__' , 'All' )
88+ . replace ( / _ _ S E C T I O N _ _ / g , 'All' )
8989 . replace ( / _ _ V E R S I O N _ _ / g, `v${ version . toString ( ) } ` )
9090 . replace ( / _ _ T O C _ _ / g, tableOfContents . wrapToC ( aggregatedToC ) )
9191 . replace ( / _ _ G T O C _ _ / g, parsedSideNav )
Original file line number Diff line number Diff line change @@ -88,7 +88,7 @@ export default {
8888 return apiTemplate
8989 . replace ( '__ID__' , api )
9090 . replace ( / _ _ F I L E N A M E _ _ / g, api )
91- . replace ( ' __SECTION__' , section )
91+ . replace ( / _ _ S E C T I O N _ _ / g , section )
9292 . replace ( / _ _ V E R S I O N _ _ / g, version )
9393 . replace ( / _ _ T O C _ _ / g, tableOfContents . wrapToC ( toc ) )
9494 . replace ( / _ _ G T O C _ _ / g, nav )
Original file line number Diff line number Diff line change 2626 document . documentElement . classList . add ( 'dark-mode' ) ;
2727 }
2828 </ script >
29+ < meta property ="og:title " content ="__SECTION__ | Node.js __VERSION__ Documentation " />
30+ < meta property ="og:image " content ="https://nodejs.org/en/next-data/og/announcement/__SECTION__%20|%20Node.js%20__VERSION__%20Documentation " />
31+ < meta name ="twitter:card " content ="summary " />
32+ < meta name ="twitter:creator " content ="@nodejs " />
33+ < meta name ="twitter:title " content ="__SECTION__ | Node.js __VERSION__ Documentation " />
34+ < meta name ="twitter:image " content ="https://nodejs.org/static/images/logo-hexagon-card.png " />
35+ < meta name ="twitter:image:alt " content ="The Node.js Hexagon Logo ">
2936 < style >
3037 html .dark-mode .shiki ,
3138 html .dark-mode .shiki span {
You can’t perform that action at this time.
0 commit comments