From 4a384379cf3116ff53567d101c61ad8d31ccbc72 Mon Sep 17 00:00:00 2001
From: "W.T. Chang" <1546333+wtchangdm@users.noreply.github.com>
Date: Wed, 24 Jul 2024 23:20:57 +0800
Subject: [PATCH] add hash for jquery
---
layouts/partials/vendor.html | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/layouts/partials/vendor.html b/layouts/partials/vendor.html
index d1e77f8b..589236ea 100644
--- a/layouts/partials/vendor.html
+++ b/layouts/partials/vendor.html
@@ -1,5 +1,5 @@
{{/* jQuery */}}
-{{ $jqueryLib := resources.Get "lib/jquery/jquery.slim.min.js" }}
+{{ $jqueryLib := resources.Get "lib/jquery/jquery.slim.min.js" | resources.Fingerprint "sha512" }}
{{/* Mermaid */}}
@@ -72,4 +72,4 @@
{{ $youtubeLiteCSS := resources.Get "lib/lite-youtube-embed/lite-yt-embed.css" }}
-{{ end }}
\ No newline at end of file
+{{ end }}