change theme switcher to icon #167

This commit is contained in:
Dmitry Kolosov 2024-01-08 17:45:37 +01:00
parent 57eb2998cf
commit ae1e0fc880
16 changed files with 24 additions and 92 deletions

View file

@ -1,7 +1,13 @@
<div class="header-top">
{{ partial "site-title.html" . }}
{{ partial "social.html" . }}
<div class="header-top-left">
{{ partial "site-title.html" . }}
{{ partial "social.html" . }}
</div>
<div class="header-top-right">
{{ partial "theme-switcher.html" . }}
</div>
</div>
{{ if .Site.Menus.main }}
<nav>
{{ $currentPage := . }}
@ -15,4 +21,4 @@
{{ if .Site.Params.mathjax }}{{ partial "mathjax_support.html" . }}{{ end }}
{{ partial "header-extra.html" . }}
{{ partial "header-extra.html" . }}