From 2103191b2faf714a8e4418c7c347a1f942b51af8 Mon Sep 17 00:00:00 2001 From: Zak Kemble Date: Thu, 3 Mar 2022 12:54:44 +0000 Subject: [PATCH 1/2] 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 %} From 4c1c8d8b0eacecbbaa2d522bbdd6430f350ff760 Mon Sep 17 00:00:00 2001 From: Zak Kemble Date: Thu, 3 Mar 2022 12:55:27 +0000 Subject: [PATCH 2/2] fix: correctly URL encode share links Relates to #496 --- _includes/post-sharing.html | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/_includes/post-sharing.html b/_includes/post-sharing.html index d6c80d7..69714ae 100644 --- a/_includes/post-sharing.html +++ b/_includes/post-sharing.html @@ -6,10 +6,11 @@