Bring back the initialization.
This commit is contained in:
parent
83610fdeaa
commit
51e7626a62
5 changed files with 14 additions and 6 deletions
3
layouts/partials/helpers/darkmode.html
Normal file
3
layouts/partials/helpers/darkmode.html
Normal file
|
@ -0,0 +1,3 @@
|
|||
<!-- This is a 'hack' for initializing the color scheme selection. See /js/darkmode.js -->
|
||||
<div id="themeInitialization" style="display: none;"
|
||||
default-theme=" {{ site.Params.darkTheme.default }} "></div>
|
Loading…
Add table
Add a link
Reference in a new issue