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:
Andrew Gerrand 2011-08-14 08:56:47 +10:00
parent 5e48e648f1
commit df3df7b70a

View file

@ -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}}