mirror of
https://github.com/Wonderfall/hugo-WonderMod.git
synced 2026-11-20 18:37:50 +01:00
assets: add fingerprint, integrity
This commit is contained in:
1 parent
338027b046
commit
41006c33e1
2 files changed
+4
-4
No files matched your search
@@ -23,8 +23,8 @@
|
||||
<footer class="footer">
|
||||
{{- partial "footer.html" . }}
|
||||
</footer>
|
||||
{{ $highlight := resources.Get "highlight.min.js" | minify }}
|
||||
<script src="{{ $highlight.Permalink }}"></script>
|
||||
{{ $highlight := resources.Get "highlight.min.js" | minify | fingerprint}}
|
||||
<script src="{{ $highlight.Permalink }}" integrity="{{ $highlight.Data.Integrity }}"></script>
|
||||
<script>
|
||||
hljs.initHighlightingOnLoad();
|
||||
</script>
|
||||
|
||||
Reference in new issue
Block a user