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

View File

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