diff options
| author | XhmikosR <[email protected]> | 2024-03-03 07:57:55 +0200 |
|---|---|---|
| committer | XhmikosR <[email protected]> | 2024-03-05 20:34:45 +0200 |
| commit | b0ce89229b3103bc216377470ed1eaaa2f3b9800 (patch) | |
| tree | 46c97ad05949b5efe0233dd05c4e7de1a50e3ff9 /site | |
| parent | 688d7e352a3c6370d7aa1871c0bb1d461af6a8e7 (diff) | |
| download | bootstrap-b0ce89229b3103bc216377470ed1eaaa2f3b9800.tar.xz bootstrap-b0ce89229b3103bc216377470ed1eaaa2f3b9800.zip | |
examples.html: Move color mode JS lower
Diffstat (limited to 'site')
| -rw-r--r-- | site/layouts/_default/examples.html | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/site/layouts/_default/examples.html b/site/layouts/_default/examples.html index e99c6975d..a63275a03 100644 --- a/site/layouts/_default/examples.html +++ b/site/layouts/_default/examples.html @@ -1,9 +1,6 @@ <!doctype html> <html {{ if eq .Page.Params.direction "rtl" }}lang="ar" dir="rtl"{{ else }}lang="en"{{ end }}{{ with .Page.Params.html_class }} class="{{ . }}"{{ end }} data-bs-theme="auto"> <head> - {{- $colorModeJS := printf "/docs/%s/assets/js/color-modes.js" $.Site.Params.docs_version -}} - <script src="{{ $colorModeJS | relURL }}"></script> - <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <meta name="description" content=""> @@ -17,6 +14,9 @@ <meta name="robots" content="{{ . }}"> {{- end }} + {{- $colorModeJS := printf "/docs/%s/assets/js/color-modes.js" $.Site.Params.docs_version -}} + <script src="{{ $colorModeJS }}"></script> + {{ partial "stylesheet" . }} {{ partial "favicons" . }} |
