mirror of
https://github.com/golang/go
synced 2024-11-18 15:14:44 -07:00
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:
parent
e00c182679
commit
421c33e678
@ -445,7 +445,7 @@ var Files = map[string]string{
|
||||
<div class="buttons">
|
||||
<a class="run" title="Run this code [shift-enter]">Run</a>
|
||||
<a class="fmt" title="Format this code">Format</a>
|
||||
{{if $.Share}}
|
||||
{{if not $.GoogleCN}}
|
||||
<a class="share" title="Share this code">Share</a>
|
||||
{{end}}
|
||||
</div>
|
||||
@ -496,7 +496,9 @@ var Files = map[string]string{
|
||||
<a href="/pkg/">Packages</a>
|
||||
<a href="/project/">The Project</a>
|
||||
<a href="/help/">Help</a>
|
||||
{{if not .GoogleCN}}
|
||||
<a href="/blog/">Blog</a>
|
||||
{{end}}
|
||||
{{if .Playground}}
|
||||
<a id="playgroundButton" href="http://play.golang.org/" title="Show Go Playground">Play</a>
|
||||
{{end}}
|
||||
@ -519,7 +521,7 @@ func main() {
|
||||
<div class="buttons">
|
||||
<a class="run" title="Run this code [shift-enter]">Run</a>
|
||||
<a class="fmt" title="Format this code">Format</a>
|
||||
{{if $.Share}}
|
||||
{{if not $.GoogleCN}}
|
||||
<a class="share" title="Share this code">Share</a>
|
||||
{{end}}
|
||||
</div>
|
||||
|
Loading…
Reference in New Issue
Block a user