Skip to content

Commit

Permalink
doc: fix invalid HTML in doc template
Browse files Browse the repository at this point in the history
Move the script tag for dark mode support inside the body tag.
  • Loading branch information
Trott committed Jan 14, 2021
1 parent 2ba8728 commit 0706cd4
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions doc/template.html
Expand Up @@ -66,8 +66,7 @@ <h1>Node.js __VERSION__ Documentation</h1>
</div>
</div>
</div>
</body>
<script>
<script>
'use strict';
{
const kCustomPreference = 'customDarkTheme';
Expand Down Expand Up @@ -102,5 +101,6 @@ <h1>Node.js __VERSION__ Documentation</h1>
});
}
}
</script>
</script>
</body>
</html>

0 comments on commit 0706cd4

Please sign in to comment.