Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs: move color-mode script #37658

Merged
merged 5 commits into from
Dec 18, 2022
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
docs: move color-mode script
XhmikosR authored Dec 16, 2022
commit dc2ad615c28b0931265ffd0ca9a6e113b01401b4
6 changes: 3 additions & 3 deletions site/layouts/partials/header.html
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
{{- $colorModeJS := resources.Get "js/color-modes/index.js" }}
<script src="{{ $colorModeJS.Permalink | relURL }}"></script>

<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="description" content="{{ .Page.Params.description | default .Site.Params.description | markdownify }}">
@@ -22,6 +19,9 @@
<meta name="robots" content="{{ . }}">
{{- end }}

{{- $colorModeJS := resources.Get "js/color-modes/index.js" -}}
<script src="{{ $colorModeJS.Permalink | relURL }}"></script>

{{ partial "stylesheet" . }}
{{ partial "favicons" . }}
{{ partial "social" . }}