Skip to content

Commit 7eeb7ef

Browse files
tatsumackandybons
authored andcommitted
content/static: show the "Play" link in the navigation header on the landing page
The "Play" link is visible when the page title is set, but it's not set on the landing page. By this change, the "Play" link is visible no matter whether the page title is set. Fixes golang/go#33043 Change-Id: I6a35e3d5c3d54ba5bd3d23967196cb7edaeefa22 Reviewed-on: https://go-review.googlesource.com/c/website/+/187897 Run-TryBot: Andrew Bonventre <[email protected]> TryBot-Result: Gobot Gobot <[email protected]> Reviewed-by: Andrew Bonventre <[email protected]>
1 parent df01d8e commit 7eeb7ef

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

content/static/godoc.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@
6060
<li class="Header-menuItem"><a href="/help/">Help</a></li>
6161
{{if not .GoogleCN}}
6262
<li class="Header-menuItem"><a href="/blog/">Blog</a></li>
63-
{{if (and .Playground .Title)}}
63+
{{if .Playground}}
6464
<li class="Header-menuItem"><a href="https://play.golang.org/">Play</a></li>
6565
{{end}}
6666
{{end}}

0 commit comments

Comments
 (0)