summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Ecer <de-code@users.noreply.github.com>2025-10-22 06:49:59 +0100
committerGitHub <noreply@github.com>2025-10-22 11:19:59 +0530
commitf5c6e01b7ccbef68f1410d6dac8412116427d0ad (patch)
tree30c116f4c4abb473cdadd86948bfffc3acbfab0c
parent73da28441d3a7276f1c239f5edd009249362a214 (diff)
feat: declare support for light and dark theme in `<head>` (#315)
-rw-r--r--layouts/partials/head.html1
1 files changed, 1 insertions, 0 deletions
diff --git a/layouts/partials/head.html b/layouts/partials/head.html
index 115b71d..38dcef9 100644
--- a/layouts/partials/head.html
+++ b/layouts/partials/head.html
@@ -34,6 +34,7 @@
{{- partial "browserconfig.html" . -}}
<meta name="theme-color" content="{{ .Site.Params.webmanifest.theme_color | default "#434648" }}">
+ <meta name="color-scheme" content="light dark">
{{/* SVG favicon for the modern web */}}
<link rel="icon" type="image/svg+xml" href="{{ (resources.Get "icons/favicon.svg").RelPermalink }}">