feat: Add theme settings
This commit is contained in:
parent
dd1ede93d9
commit
17deb772cf
6 changed files with 37 additions and 18 deletions
|
@ -141,7 +141,7 @@
|
|||
{{ if .IsTranslated }}
|
||||
{{ partial "navigators/lang-selector.html" . }}
|
||||
{{ end }}
|
||||
{{ if site.Params.features.darkMode.enable }}
|
||||
{{ if or site.Params.features.darkMode.enable site.Params.features.theme.enable }}
|
||||
{{ partial "navigators/theme-selector.html" . }}
|
||||
{{ end }}
|
||||
</ul>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue