We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 424a39f commit 18d93e6Copy full SHA for 18d93e6
1 file changed
layouts/_partials/scripts/jstoc.html
@@ -22,7 +22,7 @@
22
{{ else with.Value -}}
23
{{ with resources.Copy (printf "js/tocbot%s.js" (cond hugo.IsProduction ".min" "")) . }}
24
{{ $secureJS := . | resources.Fingerprint "sha512" -}}
25
-<script src="{{- .RelPermalink -}}" integrity="{{- $secureJS.Data.Integrity -}}" crossorigin="anonymous" referrerpolicy="no-referrer"></script>
+ <script src="{{ .RelPermalink }}" integrity="{{ $secureJS.Data.Integrity }}" crossorigin="anonymous" referrerpolicy="no-referrer"></script>
26
{{ end -}}
27
28
{{ else -}}
0 commit comments