From 89850753411869d4581f126516a22df6497e3e99 Mon Sep 17 00:00:00 2001 From: George Cushen Date: Tue, 8 Feb 2022 21:33:09 +0000 Subject: [PATCH] refactor: site.Params.require_isotope -> site.Params.extensions.isotope.enable BREAKING CHANGE See #2601 --- wowchemy/layouts/partials/site_js.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wowchemy/layouts/partials/site_js.html b/wowchemy/layouts/partials/site_js.html index 2b91753a..c10600b4 100644 --- a/wowchemy/layouts/partials/site_js.html +++ b/wowchemy/layouts/partials/site_js.html @@ -17,7 +17,7 @@ {{ if not ($scr.Get "use_cdn") }} {{ else }} - {{ $require_isotope := .Params.require_isotope | default site.Params.require_isotope | default true }} + {{ $require_isotope := .Params.require_isotope | default site.Params.extensions.isotope.enable | default false }} {{ if $require_isotope }} {{ printf "" (printf $js.imagesLoaded.url $js.imagesLoaded.version) $js.imagesLoaded.sri | safeHTML }} {{ printf "" (printf $js.isotope.url $js.isotope.version) $js.isotope.sri | safeHTML }}