From ef7fed48ece033b41e88ed9a4cf40cdf9bd9de05 Mon Sep 17 00:00:00 2001 From: Russ Cox Date: Mon, 2 Aug 2021 11:23:53 -0400 Subject: 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 Website-Publish: Russ Cox Reviewed-by: Jamal Carvalho --- _content/doc/code.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to '_content/doc/code.html') 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.

-Take {{if $.GoogleCN}} +Take {{if googleCN}} A Tour of Go {{else}} A Tour of Go -- cgit v1.3