Skip to content

Commit 18d93e6

Browse files
fekete-robertchalin
andcommitted
Update layouts/_partials/scripts/jstoc.html
Co-authored-by: Patrice Chalin <chalin@users.noreply.github.com>
1 parent 424a39f commit 18d93e6

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

layouts/_partials/scripts/jstoc.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
{{ else with.Value -}}
2323
{{ with resources.Copy (printf "js/tocbot%s.js" (cond hugo.IsProduction ".min" "")) . }}
2424
{{ $secureJS := . | resources.Fingerprint "sha512" -}}
25-
<script src="{{- .RelPermalink -}}" integrity="{{- $secureJS.Data.Integrity -}}" crossorigin="anonymous" referrerpolicy="no-referrer"></script>
25+
<script src="{{ .RelPermalink }}" integrity="{{ $secureJS.Data.Integrity }}" crossorigin="anonymous" referrerpolicy="no-referrer"></script>
2626
{{ end -}}
2727
{{ end -}}
2828
{{ else -}}

0 commit comments

Comments
 (0)