Skip to content

Commit 6784331

Browse files
authored
Docs: move color-modes to /assets/js (#1618)
1 parent 637e260 commit 6784331

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/layouts/partials/head.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
<link rel="canonical" href="{{ .Permalink }}">
88

9-
{{- $colorModeJS := resources.Get "js/color-modes.js" -}}
9+
{{- $colorModeJS := resources.Get "js/color-modes.js" | resources.Copy "/assets/js/color-modes.js" -}}
1010
<script src="{{ $colorModeJS.Permalink | relURL }}"></script>
1111

1212
{{ partialCached "stylesheet" . }}

0 commit comments

Comments
 (0)