mirror of
https://github.com/nunocoracao/blowfish.git
synced 2025-01-22 06:25:45 -06:00
add hash to zoom.min.js
This commit is contained in:
parent
4a384379cf
commit
df0a232bfc
2 changed files with 2 additions and 1 deletions
|
@ -74,7 +74,8 @@
|
|||
}}"></script>
|
||||
{{ end }}
|
||||
{{ if not .Site.Params.disableImageZoom | default true }}
|
||||
<script src="{{ "js/zoom.min.js" | relURL }}"></script>
|
||||
{{ $zoomJS := resources.Get "lib/zoom/zoom.min.js" | resources.Fingerprint "sha512" }}
|
||||
<script src="{{ $zoomJS.RelPermalink }}" integrity="{{ $zoomJS.Data.Integrity }}"></script>
|
||||
{{ end }}
|
||||
{{/* Icons */}}
|
||||
{{ if templates.Exists "partials/favicons.html" }}
|
||||
|
|
Loading…
Reference in a new issue