add hash for jquery

This commit is contained in:
W.T. Chang 2024-07-24 23:20:57 +08:00
parent 18ed67b2e6
commit 4a384379cf

View file

@ -1,5 +1,5 @@
{{/* jQuery */}} {{/* jQuery */}}
{{ $jqueryLib := resources.Get "lib/jquery/jquery.slim.min.js" }} {{ $jqueryLib := resources.Get "lib/jquery/jquery.slim.min.js" | resources.Fingerprint "sha512" }}
<script src="{{ $jqueryLib.RelPermalink }}" integrity="{{ $jqueryLib.Data.Integrity }}"></script> <script src="{{ $jqueryLib.RelPermalink }}" integrity="{{ $jqueryLib.Data.Integrity }}"></script>
{{/* Mermaid */}} {{/* Mermaid */}}