aboutsummaryrefslogtreecommitdiff
path: root/_content/help.html
diff options
context:
space:
mode:
authorRuss Cox <rsc@golang.org>2021-08-02 11:23:53 -0400
committerRuss Cox <rsc@golang.org>2021-08-17 13:59:37 +0000
commitef7fed48ece033b41e88ed9a4cf40cdf9bd9de05 (patch)
tree5de02efe25f644ee3eb124d5b3f9091d40aab750 /_content/help.html
parentf8f1822414a54ce50388ab00e3a4c20f0ae15046 (diff)
downloadgo-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/help.html')
-rw-r--r--_content/help.html6
1 files changed, 3 insertions, 3 deletions
diff --git a/_content/help.html b/_content/help.html
index e6da3ba8..2b53e44f 100644
--- a/_content/help.html
+++ b/_content/help.html
@@ -9,7 +9,7 @@
<img class="gopher" src="/doc/gopher/help.png" alt=""/>
-{{if not $.GoogleCN}}
+{{if not googleCN}}
<h3 id="mailinglist"><a href="https://groups.google.com/group/golang-nuts">Go Nuts Mailing List</a></h3>
<p>
Get help from Go users, and share your work on the official mailing list.
@@ -42,7 +42,7 @@ the Go IRC channel.</p>
<h3 id="faq"><a href="/doc/faq">Frequently Asked Questions (FAQ)</a></h3>
<p>Answers to common questions about Go.</p>
-{{if not $.GoogleCN}}
+{{if not googleCN}}
<h2 id="inform">Stay informed</h2>
<h3 id="announce"><a href="https://groups.google.com/group/golang-announce">Go Announcements Mailing List</a></h3>
@@ -79,7 +79,7 @@ Each month in places around the world, groups of Go programmers ("gophers")
meet to talk about Go. Find a chapter near you.
</p>
-{{if not $.GoogleCN}}
+{{if not googleCN}}
<h3 id="playground"><a href="/play">Go Playground</a></h3>
<p>A place to write, run, and share Go code.</p>