Added invisible element to hack theme initialization.
This commit is contained in:
parent
4254d03876
commit
b754a9ce85
5 changed files with 18 additions and 5 deletions
|
@ -1,6 +1,5 @@
|
|||
<li class="nav-item dropdown">
|
||||
<a class="nav-link dropdown-toggle" href="#" id="themeSelector"
|
||||
default-theme=" {{ site.Params.darkTheme.default }} " role="button"
|
||||
<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">
|
||||
<a class="dropdown-item nav-link" href="#" onclick="enableLightTheme()">Light</a>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue