feat: Add theme settings

This commit is contained in:
JY Hsu 2024-09-01 12:58:34 +08:00
parent dd1ede93d9
commit 17deb772cf
6 changed files with 37 additions and 18 deletions

View file

@ -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>