commit | c7ef3073a5ee0445df013995fb4baa6aba5f8994 | [log] [tgz] |
---|---|---|
author | Russ Cox <rsc@google.com> | Thu Apr 29 17:04:14 2021 -0400 |
committer | Russ Cox <rsc@google.com> | Mon May 24 23:12:14 2021 -0400 |
tree | c0da8329405b8f178a74e71a2dbab86a0fbe85fa | |
parent | acbcfa8a5c0ca03b3cbc057251c3868e55e95623 [diff] |
[x/go.dev] all: simplify menu configuration Move from data/site.toml to data/menus.yaml, with non-menu left in data/site.yaml. Now there is only one data format (YAML) for the web site. Put the menus in the order they should appear on the site, instead of having to maintain and sort by weights. Now the menus can be plain data, with no footprint in the Go source code at all. Move data accessor into a top-level template function. Between that and the menus moving into plain data, Site is no longer exposed as a concept to templates in any form. Change-Id: Ib21b7163f8bcd7883a930f72e4bfd88cbb875cf3 X-GoDev-Commit: 22c45b892cb03085b303d54200c701d2e502e4ef
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.