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.

PR-URL: #36930
Reviewed-By: Antoine du Hamel <[email protected]>
Reviewed-By: Richard Lau <[email protected]>
Reviewed-By: Luigi Pinca <[email protected]>
  • Loading branch information
Trott authored and targos committed May 1, 2021
1 parent e7bc379 commit e990b11
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions doc/template.html
Original file line number Diff line number Diff line change
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 e990b11

Please sign in to comment.