godoc: update out of sync static.go

Replace references to Share by GoogleCN.

Fixes golang/go#21725

Change-Id: I6db4aa282cca7c104cbe34b40d152aa53ce07280
Reviewed-on: https://go-review.googlesource.com/60851
Run-TryBot: Martin Möhrmann <moehrmann@google.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Andrew Bonventre <andybons@golang.org>
This commit is contained in:
Martin Möhrmann 2017-09-01 09:23:47 +02:00 committed by Andrew Bonventre
parent e00c182679
commit 421c33e678
1 changed files with 6 additions and 4 deletions

View File

@ -445,7 +445,7 @@ var Files = map[string]string{
<div class="buttons"> <div class="buttons">
<a class="run" title="Run this code [shift-enter]">Run</a> <a class="run" title="Run this code [shift-enter]">Run</a>
<a class="fmt" title="Format this code">Format</a> <a class="fmt" title="Format this code">Format</a>
{{if $.Share}} {{if not $.GoogleCN}}
<a class="share" title="Share this code">Share</a> <a class="share" title="Share this code">Share</a>
{{end}} {{end}}
</div> </div>
@ -496,7 +496,9 @@ var Files = map[string]string{
<a href="/pkg/">Packages</a> <a href="/pkg/">Packages</a>
<a href="/project/">The Project</a> <a href="/project/">The Project</a>
<a href="/help/">Help</a> <a href="/help/">Help</a>
{{if not .GoogleCN}}
<a href="/blog/">Blog</a> <a href="/blog/">Blog</a>
{{end}}
{{if .Playground}} {{if .Playground}}
<a id="playgroundButton" href="http://play.golang.org/" title="Show Go Playground">Play</a> <a id="playgroundButton" href="http://play.golang.org/" title="Show Go Playground">Play</a>
{{end}} {{end}}
@ -519,7 +521,7 @@ func main() {
<div class="buttons"> <div class="buttons">
<a class="run" title="Run this code [shift-enter]">Run</a> <a class="run" title="Run this code [shift-enter]">Run</a>
<a class="fmt" title="Format this code">Format</a> <a class="fmt" title="Format this code">Format</a>
{{if $.Share}} {{if not $.GoogleCN}}
<a class="share" title="Share this code">Share</a> <a class="share" title="Share this code">Share</a>
{{end}} {{end}}
</div> </div>
@ -559,7 +561,7 @@ Except as <a href="https://developers.google.com/site-policies#restrictions">not
the content of this page is licensed under the the content of this page is licensed under the
Creative Commons Attribution 3.0 License, Creative Commons Attribution 3.0 License,
and code is licensed under a <a href="/LICENSE">BSD license</a>.<br> and code is licensed under a <a href="/LICENSE">BSD license</a>.<br>
<a href="/doc/tos.html">Terms of Service</a> | <a href="/doc/tos.html">Terms of Service</a> |
<a href="http://www.google.com/intl/en/policies/privacy/">Privacy Policy</a> <a href="http://www.google.com/intl/en/policies/privacy/">Privacy Policy</a>
</div> </div>
@ -3007,7 +3009,7 @@ h1 {
line-height: 1; line-height: 1;
} }
h1 .text-muted { h1 .text-muted {
color:#777; color:#777;
} }
h2 { h2 {
font-size: 20px; font-size: 20px;