We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 637e260 commit 6784331Copy full SHA for 6784331
docs/layouts/partials/head.html
@@ -6,7 +6,7 @@
6
7
<link rel="canonical" href="{{ .Permalink }}">
8
9
-{{- $colorModeJS := resources.Get "js/color-modes.js" -}}
+{{- $colorModeJS := resources.Get "js/color-modes.js" | resources.Copy "/assets/js/color-modes.js" -}}
10
<script src="{{ $colorModeJS.Permalink | relURL }}"></script>
11
12
{{ partialCached "stylesheet" . }}
0 commit comments