diff options
| author | Russ Cox <rsc@golang.org> | 2021-08-02 11:23:53 -0400 |
|---|---|---|
| committer | Russ Cox <rsc@golang.org> | 2021-08-17 13:59:37 +0000 |
| commit | ef7fed48ece033b41e88ed9a4cf40cdf9bd9de05 (patch) | |
| tree | 5de02efe25f644ee3eb124d5b3f9091d40aab750 /_content/doc/code.html | |
| parent | f8f1822414a54ce50388ab00e3a4c20f0ae15046 (diff) | |
| download | go-x-website-ef7fed48ece033b41e88ed9a4cf40cdf9bd9de05.tar.xz | |
internal/web: merge with go.dev/cmd/internal/site
internal/web was the framework left serving golang.org.
go.dev/cmd/internal/site was the framework serving go.dev.
This CL merges the two into a coherent, simple site serving
framework that works for both sites, a step toward merging
the sites themselves.
The CL is difficult to break up, so it's a bit larger than would be ideal.
The best place to start is the doc comment in internal/web/site.go
and then the other changes in that directory.
The rest of the CL is just minor adjustments to the repo to match.
Change-Id: I927dea29396104a817bd81b6bf25fa43f996968f
Reviewed-on: https://go-review.googlesource.com/c/website/+/339403
Trust: Russ Cox <rsc@golang.org>
Website-Publish: Russ Cox <rsc@golang.org>
Reviewed-by: Jamal Carvalho <jamal@golang.org>
Diffstat (limited to '_content/doc/code.html')
| -rw-r--r-- | _content/doc/code.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/_content/doc/code.html b/_content/doc/code.html index 1f020c98..ffa9b088 100644 --- a/_content/doc/code.html +++ b/_content/doc/code.html @@ -438,7 +438,7 @@ clear, idiomatic Go code. </p> <p> -Take {{if $.GoogleCN}} +Take {{if googleCN}} A Tour of Go {{else}} <a href="//tour.golang.org/">A Tour of Go</a> |
