mirror of
https://github.com/golang/go
synced 2024-11-24 23:47:55 -07:00
godoc: fix godoc.html template bug: correctly display package roots
R=golang-dev, r CC=golang-dev https://golang.org/cl/4898042
This commit is contained in:
parent
5e48e648f1
commit
df3df7b70a
@ -23,10 +23,8 @@
|
||||
</ul>
|
||||
<div class="quickref">
|
||||
<form method="GET" action="/search">
|
||||
{{with .PkgRoots}}
|
||||
{{range .PkgRoots}}
|
||||
<a href="/pkg/{{html .}}">{{html .}}</a> <span class="sep">|</span>
|
||||
{{end}}
|
||||
{{else}}
|
||||
References:
|
||||
{{end}}
|
||||
|
Loading…
Reference in New Issue
Block a user