Changed darkreader CDN to local copy.

This commit is contained in:
donfiguerres 2022-06-09 15:51:16 +08:00
parent 1c465dc73e
commit c6fe04df72
4 changed files with 43 additions and 15 deletions

View file

@ -1,7 +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>
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">