[x/go.dev] all: introduce Page.Layout to pick layout

Hugo has complex rules for deciding which template layout applies.
https://gohugo.io/templates/lookup-order/

Replace all that complexity (hardly any of which is implemented
here anyway) with an explicit layout directive in the pages themselves.

Change-Id: Ia28061cba7886fccf014c416a531d3ab657fa6f3
X-GoDev-Commit: 4386e31ee4bb3c13dd64eed6303da11763a91f12
39 files changed
tree: ba3d4f691a7384e9f1e40c54bda718e860d2e980
  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.