aboutsummaryrefslogtreecommitdiff
path: root/_content/site.tmpl
diff options
context:
space:
mode:
authorJamal Carvalho <jamalcarvalho@google.com>2022-08-18 18:24:05 +0000
committerJamal Carvalho <jamal@golang.org>2022-08-19 16:14:45 +0000
commitaf51caee77fee5c7e7866e16cb8b373f596b38ea (patch)
tree1e36a20bfde481bc50f7a59be9e257ba079163fc /_content/site.tmpl
parent0a456fc0bac30bf5fc705d43c57451c2cc366e7f (diff)
downloadgo-x-website-af51caee77fee5c7e7866e16cb8b373f596b38ea.tar.xz
_content: style theme defaults to system preference
The style theme matches pkg.go.dev behavior in respecting the users preferred theme set by the system. Change-Id: I1dab33bda043f054522f88f8e64c539e61934433 Reviewed-on: https://go-review.googlesource.com/c/website/+/424834 Reviewed-by: Suzy Mueller <suzmue@golang.org>
Diffstat (limited to '_content/site.tmpl')
-rw-r--r--_content/site.tmpl2
1 files changed, 1 insertions, 1 deletions
diff --git a/_content/site.tmpl b/_content/site.tmpl
index aa6bc365..8559996e 100644
--- a/_content/site.tmpl
+++ b/_content/site.tmpl
@@ -1,6 +1,6 @@
{{block "entirepage" . -}}
<!DOCTYPE html>
-<html lang="en" data-theme="light">
+<html lang="en" data-theme="auto">
<head>
<!-- Google Tag Manager -->
<link rel="preconnect" href="https://www.googletagmanager.com">