[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
47 files changed
tree: 80ef4f0d875b7a18830507750e5a60b831ad9563
  1. go.dev/
  2. AUTHORS
  3. CONTRIBUTING.md
  4. CONTRIBUTORS
  5. LICENSE
  6. PATENTS
  7. README.md
README.md

Go Website

This repository holds the Go Website server code and content.

Download/Install

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.

Report Issues / Send Patches

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.