feat: add option to enable or disable the dark mode toggle button (#529)
This commit is contained in:
parent
d0a7f2bb60
commit
e9ece03388
6 changed files with 18 additions and 12 deletions
|
@ -1,3 +1,6 @@
|
|||
{{- if default true .Site.Params.GeekdocDarkModeToggle }}
|
||||
<script src="{{ index (index .Site.Data.assets "colortheme.js") "src" | relURL }}"></script>
|
||||
{{- end }}
|
||||
<script src="{{ index (index .Site.Data.assets "main.js") "src" | relURL }}"></script>
|
||||
|
||||
<link
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue