Skip to content

Commit ba80cbc

Browse files
committed
Use RelPermalink for color-mode.js too
1 parent 86a5017 commit ba80cbc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/layouts/partials/head.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
{{- end }}
1818

1919
{{- $colorModeJS := resources.Get "js/color-modes.js" | fingerprint | resources.Copy "/assets/js/color-modes.js" -}}
20-
<script src="{{ $colorModeJS.Permalink | relURL }}"></script>
20+
<script src="{{ $colorModeJS.RelPermalink }}"></script>
2121

2222
{{ partial "stylesheet" . }}
2323
{{ partial "favicons" . }}

0 commit comments

Comments
 (0)