From 2103191b2faf714a8e4418c7c347a1f942b51af8 Mon Sep 17 00:00:00 2001 From: Zak Kemble Date: Thu, 3 Mar 2022 12:54:44 +0000 Subject: [PATCH] fix: script code should be in head or body, not in between --- _includes/head.html | 3 +++ _layouts/default.html | 4 ---- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/_includes/head.html b/_includes/head.html index 8c85ec9..50e0214 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 1634cb4..782c10a 100644 --- a/_layouts/default.html +++ b/_layouts/default.html @@ -19,10 +19,6 @@ layout: compress {% include head.html %} - {% unless site.theme_mode %} - {% include mode-toggle.html %} - {% endunless %} - {% include sidebar.html %}