fix: Fix default theme value

This commit is contained in:
JY Hsu 2024-09-01 13:52:35 +08:00
parent 17deb772cf
commit b6244030a3
4 changed files with 7 additions and 5 deletions

View file

@ -22,8 +22,10 @@
<img class="theme-icon" src="{{ "icons/moon-svgrepo-com.svg" | relURL }}" width=20 alt="Dark Theme">
</a>
{{ end }}
{{ if and $lightEnabled $darkEnabled }}
<a class="dropdown-item nav-link" href="#" data-scheme="system">
<img class="theme-icon" src="{{ "icons/computer-svgrepo-com.svg" | relURL }}" width=20 alt="System Theme">
</a>
{{ end }}
</div>
</li>