From 40921e4f54a879b8187483fb7ff66e61bc681979 Mon Sep 17 00:00:00 2001 From: JD Date: Thu, 14 Jan 2021 11:45:47 -0800 Subject: [PATCH] Issue 180 - Distill Bugfix (#182) * dark_mode.js was not being loaded on distill blog pages. * Moved dark_mode.js and jquery.html to head.html to simplify/standardize dark mode/theming for other pages. --- _includes/head.html | 5 +++++ _includes/scripts/misc.html | 3 --- _layouts/default.html | 1 - 3 files changed, 5 insertions(+), 4 deletions(-) diff --git a/_includes/head.html b/_includes/head.html index 95f8668..ea1701c 100644 --- a/_includes/head.html +++ b/_includes/head.html @@ -33,9 +33,14 @@ + +{% include scripts/jquery.html %} + {% if site.enable_darkmode %} + + {% endif %} {% if site.enable_google_analytics %} diff --git a/_includes/scripts/misc.html b/_includes/scripts/misc.html index a18682b..08dece9 100644 --- a/_includes/scripts/misc.html +++ b/_includes/scripts/misc.html @@ -8,6 +8,3 @@ $(function () {$('[data-toggle="tooltip"]').tooltip()}) - - - diff --git a/_layouts/default.html b/_layouts/default.html index bde7acc..b0aa49b 100644 --- a/_layouts/default.html +++ b/_layouts/default.html @@ -24,7 +24,6 @@ - {% include scripts/jquery.html %} {% include scripts/bootstrap.html %} {% include scripts/mansory.html %} {% include scripts/misc.html %}