diff options
| author | Daniel Ecer <de-code@users.noreply.github.com> | 2025-10-22 06:49:59 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-10-22 11:19:59 +0530 |
| commit | f5c6e01b7ccbef68f1410d6dac8412116427d0ad (patch) | |
| tree | 30c116f4c4abb473cdadd86948bfffc3acbfab0c | |
| parent | 73da28441d3a7276f1c239f5edd009249362a214 (diff) | |
feat: declare support for light and dark theme in `<head>` (#315)
| -rw-r--r-- | layouts/partials/head.html | 1 |
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 }}"> |
