commit | 06809778bfb27c6b860af6bad916fd9949033d8e | [log] [tgz] |
---|---|---|
author | Russ Cox <rsc@google.com> | Mon May 17 13:28:04 2021 -0400 |
committer | Russ Cox <rsc@google.com> | Mon May 24 23:12:15 2021 -0400 |
tree | 80ef4f0d875b7a18830507750e5a60b831ad9563 | |
parent | d8994ffe64f983eb4679e3b2ba0d3e09975152ca [diff] |
[x/go.dev] all: do not force every URL to end in slash Hugo generates every page into its own directory with an index.html file, so that all URLs end in slash. Our other web sites do not do this. For example: https://blog.golang.org/ports https://golang.org/pkg/math https://golang.org/ref/spec As part of trying to simplify to a common core serving infrastructure, drop the "every URL ends in slash" requirement for this site. Note that due to what appears to be a bug in the App Engine config, go.dev serves two of every page, both with and without the URL For example, today on go.dev, these serve identical content and neither redirects to the other: https://go.dev/about https://go.dev/about/ This CL is only changing the generated HTML links, not the locations of the generated files. That will happen later. Golden copies updated to match. Change-Id: I5707360f6932878b4df689c593b28311c4cbc9b5 X-GoDev-Commit: b036875aad6369b69ce430db535c92df5d45eb6e
This repository holds the Go Website server code and content.
The easiest way to install is to run go get -u golang.org/x/website
. You can also manually git clone the repository to $GOPATH/src/golang.org/x/website
.
This repository uses Gerrit for code changes. To learn how to submit changes to this repository, see https://golang.org/doc/contribute.html.
The main issue tracker for the time repository is located at https://github.com/golang/go/issues. Prefix your issue with “x/website:” in the subject line, so it is easy to find.