commit | 88b403719317b16bdfaf3bdad262e8150a7693ed | [log] [tgz] |
---|---|---|
author | Jamal Carvalho <jamal@golang.org> | Thu Apr 07 13:37:11 2022 +0000 |
committer | Jamal Carvalho <jamal@golang.org> | Thu Apr 07 20:43:28 2022 +0000 |
tree | 980c170c64abe79aa20ee6c29f0cd1bf160bba7e | |
parent | a5c2c4e9ac0361f85b30811fbc9e20d4c36111ea [diff] |
static/frontend: fix dark theme toggle for self hosted instances Defaulting to a blank domain allows for the dark theme toggle to work on a pkgsite instance hosted at any domain. Change-Id: Iefb1fea8ef050e520233eef0490d4630b1d95925 Reviewed-on: https://go-review.googlesource.com/c/pkgsite/+/398416 Trust: Jamal Carvalho <jamal@golang.org> Run-TryBot: Jamal Carvalho <jamal@golang.org> Reviewed-by: Jonathan Amsterdam <jba@google.com>
Pkg.go.dev is a website for discovering and evaluating Go packages and modules.
You can check it out at https://pkg.go.dev.
Pkgsite requires Go 1.18 to run. The last commit that works with older versions of Go is 4d836c6a652cde92f433967680dfd6171a91ec12.
If you want to report a bug or have a feature suggestion, please first check the known issues to see if your issue is already being discussed. If an issue does not already exist, feel free to file an issue.
For answers to frequently asked questions, see pkg.go.dev/about.
You can also chat with us on the #pkgsite Slack channel on the Gophers Slack.
We would love your help!
Our canonical Git repository is located at go.googlesource.com/pkgsite. There is a mirror of the repository at github.com/golang/pkgsite.
To contribute, please read our contributing guide.
Unless otherwise noted, the Go source files are distributed under the BSD-style license found in the LICENSE file.