[x/go.dev] all: remove use of index.md for single page

Hugo uses both a file-per-page and directory-per-page model.
For example go.dev/about/ is served from _content/about.md
but go.dev/solutions/dropbox/ is served from _content/solutions/dropbox/index.md.
This is needlessly complex.

Hugo then has the concept of a section of pages, which would
naturally correspond with directories, but since directories
are already used for single pages, Hugo defines that a section
is a directory with an _index.md instead of an index.md.

This CL removes all use of index.md for single pages.
Then the directory structure and the section structure can
be defined to match exactly, and then the _index.md can
become plain index.md.

A few images moved their URLs, which should not matter since
no sites should be linking to our images. And many images
were outright deleted, since they were not linked at all
(copies in the images directory are linked instead).

Now there is no confusion about index.md versus _index.md.

Even better, parent and section are easily defined based on the name
of the page's file, instead of being dependent on the content of the
surrounding file tree.

Change-Id: I081d34a26150a550d6fb40d534f0c6befa4901c2
X-GoDev-Commit: 617b6df873f1d3500a3e484233cd51e7fa79c578
79 files changed
tree: c7e22572dd6f9baa76f52d15be10a7369c64a90e
  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.