From d805b05ee0e9252bc3ddca524bb1c03bd8aa7457 Mon Sep 17 00:00:00 2001 From: Evgeny Kim Date: Thu, 28 Mar 2024 20:47:02 +0100 Subject: [PATCH] Fix: Photoswipe was not loaded when not using CDN --- layouts/partials/scripts.html | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/layouts/partials/scripts.html b/layouts/partials/scripts.html index ccfef5e7..b07b8ad8 100644 --- a/layouts/partials/scripts.html +++ b/layouts/partials/scripts.html @@ -98,14 +98,13 @@ {{ if or .Site.Params.photoswipe .Site.Params.fancybox }} + {{ if .Site.Params.bootcdn }} - {{ else if .Site.Params.publicCDN.enable }} - {{ .Site.Params.publicCDN.photoswipe | safeHTML }} {{ .Site.Params.publicCDN.photoswipeUI | safeHTML }} {{ else }}