summaryrefslogtreecommitdiffstats
path: root/site/layouts/partials/header.html
diff options
context:
space:
mode:
Diffstat (limited to 'site/layouts/partials/header.html')
-rw-r--r--site/layouts/partials/header.html3
1 files changed, 3 insertions, 0 deletions
diff --git a/site/layouts/partials/header.html b/site/layouts/partials/header.html
index ceeb8b5..22528ae 100644
--- a/site/layouts/partials/header.html
+++ b/site/layouts/partials/header.html
@@ -19,6 +19,9 @@
<meta name="robots" content="{{ . }}">
{{- end }}
+{{- $colorModeJS := printf "/docs/%s/assets/js/color-modes.js" $.Site.Params.docs_version -}}
+<script src="{{ $colorModeJS | relURL }}"></script>
+
{{ partial "stylesheet" . }}
{{ partial "favicons" . }}
{{ partial "social" . }}