From 1fe79bca3e6490939b7acba4cd6ca7ecc663f30d Mon Sep 17 00:00:00 2001 From: "kirill.chalov" Date: Mon, 16 Dec 2024 16:38:13 +0800 Subject: [PATCH] fix: repair fetching zoom.min.js --- layouts/partials/head.html | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/layouts/partials/head.html b/layouts/partials/head.html index cc158213..a549910c 100644 --- a/layouts/partials/head.html +++ b/layouts/partials/head.html @@ -78,7 +78,8 @@ }}"> {{ end }} {{ if not .Site.Params.disableImageZoom | default true }} - + {{ $zoomJS := resources.Get "lib/zoom/zoom.min.js" | resources.Fingerprint "sha512" }} + {{ end }} {{/* Icons */}} {{ if templates.Exists "partials/favicons.html" }}