diff --git a/src/generators/legacy-html-all/index.mjs b/src/generators/legacy-html-all/index.mjs
index a2abdb2e..e4854636 100644
--- a/src/generators/legacy-html-all/index.mjs
+++ b/src/generators/legacy-html-all/index.mjs
@@ -85,7 +85,7 @@ export default {
const generatedAllTemplate = apiTemplate
.replace('__ID__', 'all')
.replace(/__FILENAME__/g, 'all')
- .replace('__SECTION__', 'All')
+ .replace(/__SECTION__/g, 'All')
.replace(/__VERSION__/g, `v${version.toString()}`)
.replace(/__TOC__/g, tableOfContents.wrapToC(aggregatedToC))
.replace(/__GTOC__/g, parsedSideNav)
diff --git a/src/generators/legacy-html/index.mjs b/src/generators/legacy-html/index.mjs
index 33358c33..6c7ff228 100644
--- a/src/generators/legacy-html/index.mjs
+++ b/src/generators/legacy-html/index.mjs
@@ -88,7 +88,7 @@ export default {
return apiTemplate
.replace('__ID__', api)
.replace(/__FILENAME__/g, api)
- .replace('__SECTION__', section)
+ .replace(/__SECTION__/g, section)
.replace(/__VERSION__/g, version)
.replace(/__TOC__/g, tableOfContents.wrapToC(toc))
.replace(/__GTOC__/g, nav)
diff --git a/src/generators/legacy-html/template.html b/src/generators/legacy-html/template.html
index 400fe835..b6ade452 100644
--- a/src/generators/legacy-html/template.html
+++ b/src/generators/legacy-html/template.html
@@ -26,6 +26,13 @@
document.documentElement.classList.add('dark-mode');
}
+
+
+
+
+
+
+