1
0
mirror of https://github.com/cotes2020/jekyll-theme-chirpy.git synced 2025-12-18 05:41:31 +00:00

Simplify theme-mode config

This commit is contained in:
Cotes Chung
2020-12-07 01:14:40 +08:00
parent 8d4c555638
commit bb13b52d44
3 changed files with 10 additions and 9 deletions

View File

@@ -52,12 +52,12 @@
<div class="sidebar-bottom d-flex flex-wrap justify-content-around mt-4">
{% if site.theme_mode == "dual" %}
{% unless site.theme_mode %}
<span id="mode-toggle-wrapper">
{% include mode-toggle.html %}
</span>
<span class="icon-border"></span>
{% endif %}
{% endunless %}
{% for entry in site.data.contact %}
{% capture url %}