diff --git a/_includes/head.html b/_includes/head.html index 8c85ec9a929..50e021488a9 100644 --- a/_includes/head.html +++ b/_includes/head.html @@ -87,4 +87,7 @@ + {% unless site.theme_mode %} + {% include mode-toggle.html %} + {% endunless %} diff --git a/_layouts/default.html b/_layouts/default.html index 1634cb45d34..782c10a20a5 100644 --- a/_layouts/default.html +++ b/_layouts/default.html @@ -19,10 +19,6 @@ {% include head.html %} - {% unless site.theme_mode %} - {% include mode-toggle.html %} - {% endunless %} - {% include sidebar.html %}