This commit is contained in:
Matthew Wang
2023-08-22 19:57:16 -04:00
parent 8d8b444b46
commit f2657db1d1
10 changed files with 164 additions and 13 deletions

View File

@@ -11,5 +11,12 @@
</a>
</li>
{% endfor %}
{% if site.color_scheme_options and site.color_scheme_options.switch_options %}
<li class="aux-nav-list-item">
<button class="site-button color-scheme-switch-theme-button" aria-label="Switch color scheme">
<svg aria-hidden="true" class="site-button-icon"><use href="#svg-{{ site.color_scheme | default: 'light' }}"></use></svg>
</button>
</li>
{% endif %}
</ul>
</nav>

View File

@@ -5,7 +5,7 @@
<div></div>
{% endif %}
{% include header_custom.html %}
{% if site.aux_links %}
{% if site.aux_links or site.color_scheme_options and site.color_scheme_options.switch_options %}
{% include components/aux_nav.html %}
{% endif %}
</div>