From 7e2e6a4a109cc69f7c7de08badf3935abe06d7ed Mon Sep 17 00:00:00 2001 From: Maruan Al-Shedivat Date: Sun, 26 Jan 2025 14:50:20 -0500 Subject: [PATCH] Fix distill scripts --- _includes/distill_scripts.liquid | 83 ++------------------------------ 1 file changed, 5 insertions(+), 78 deletions(-) diff --git a/_includes/distill_scripts.liquid b/_includes/distill_scripts.liquid index 82bf5936337a..61c063d51323 100644 --- a/_includes/distill_scripts.liquid +++ b/_includes/distill_scripts.liquid @@ -124,17 +124,6 @@ {% endif %} -{% if site.enable_medium_zoom %} - - - -{% endif %} - {% if page.toc and page.toc.sidebar %} @@ -180,29 +169,14 @@ {% endif %} -{% if site.enable_google_analytics %} +{% if site.plugins contains 'al_analytics' %} - - - + {% al_analytics_scripts %} {% endif %} -{% if site.enable_cronitor_analytics %} - - - -{% endif %} -{% if site.enable_pirsch_analytics %} - -{% endif %} -{% if site.enable_openpanel_analytics %} - - +{% if site.plugins contains 'al_img_tools' %} + + {% al_img_tools_scripts %} {% endif %} {% if site.enable_progressbar %} @@ -210,53 +184,6 @@ {% endif %} -{% if page.images %} - - {% if page.images.compare %} - - {% endif %} - {% if page.images.lightbox2 %} - - {% endif %} - {% if page.images.photoswipe %} - - {% endif %} - {% if page.images.slider %} - - {% endif %} - {% if page.images.spotlight %} - - {% endif %} - {% if page.images.venobox %} - - - {% endif %} -{% endif %} - {% if page.tabs %}