From d500e084f56de2536db304d029beb194a695c28f Mon Sep 17 00:00:00 2001 From: Maruan Al-Shedivat Date: Sat, 30 Oct 2021 19:53:39 -0400 Subject: [PATCH] Remove theming dependence on jquery --- _includes/head.html | 7 +++++++ _includes/scripts/misc.html | 6 ------ assets/js/dark_mode.js | 3 ++- 3 files changed, 9 insertions(+), 7 deletions(-) diff --git a/_includes/head.html b/_includes/head.html index 97a93d6..21b92d1 100644 --- a/_includes/head.html +++ b/_includes/head.html @@ -42,3 +42,10 @@ {% endif %} + +{% if site.enable_darkmode %} + + + +{% endif %} + diff --git a/_includes/scripts/misc.html b/_includes/scripts/misc.html index c2188d4..260ce1b 100644 --- a/_includes/scripts/misc.html +++ b/_includes/scripts/misc.html @@ -1,9 +1,3 @@ -{% if site.enable_darkmode %} - - - -{% endif %} - {% if site.enable_tooltips %}