]> Cypherpunks repositories - gostls13.git/commitdiff
godoc: fix godoc.html template bug: correctly display package roots
authorAndrew Gerrand <adg@golang.org>
Sat, 13 Aug 2011 22:56:47 +0000 (08:56 +1000)
committerAndrew Gerrand <adg@golang.org>
Sat, 13 Aug 2011 22:56:47 +0000 (08:56 +1000)
R=golang-dev, r
CC=golang-dev
https://golang.org/cl/4898042

lib/godoc/godoc.html

index 91e521258d6a7206bd6c526c0d6bd3ff4dccaf8f..671160d5a81975624d5dc10eea5d20593a296e83 100644 (file)
       </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}}