mirror of
https://github.com/golang/go
synced 2024-11-24 23:37:56 -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>
|
</ul>
|
||||||
<div class="quickref">
|
<div class="quickref">
|
||||||
<form method="GET" action="/search">
|
<form method="GET" action="/search">
|
||||||
{{with .PkgRoots}}
|
|
||||||
{{range .PkgRoots}}
|
{{range .PkgRoots}}
|
||||||
<a href="/pkg/{{html .}}">{{html .}}</a> <span class="sep">|</span>
|
<a href="/pkg/{{html .}}">{{html .}}</a> <span class="sep">|</span>
|
||||||
{{end}}
|
|
||||||
{{else}}
|
{{else}}
|
||||||
References:
|
References:
|
||||||
{{end}}
|
{{end}}
|
||||||
|
Loading…
Reference in New Issue
Block a user