From 01ef5543ff46c85feaf07e76e03398db7718a0da Mon Sep 17 00:00:00 2001 From: Eltrac Date: Sat, 17 May 2025 09:23:09 +0800 Subject: perf: remove unnecessary fancybox helper script Former-commit-id: 1df5202592eb9ea3d46bc347511c1e68ae5bbeeb --- layouts/partials/scripts.html | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'layouts') diff --git a/layouts/partials/scripts.html b/layouts/partials/scripts.html index e523c046..e7f1c454 100644 --- a/layouts/partials/scripts.html +++ b/layouts/partials/scripts.html @@ -10,10 +10,7 @@ {{- if or (in .Section "posts") (in .Section "cards") (in .Section "library") (eq .Type "single") }} - {{- $fancybox := resources.Get "js/fancybox.js" | minify }} - {{- if $fancybox }} - - {{- end }} + {{- end }}