Cleanup to keep darkreader in as few files as possible.
This commit is contained in:
parent
614902393c
commit
7d328983c0
5 changed files with 7 additions and 14 deletions
|
@ -1,4 +1,7 @@
|
|||
<li class="nav-item dropdown">
|
||||
<!-- 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>
|
||||
<a class="nav-link dropdown-toggle" href="#" id="themeSelector" role="button"
|
||||
data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">Theme</a>
|
||||
<div class="dropdown-menu" aria-labelledby="themeSelector">
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue