From: Andrew Gerrand Date: Sat, 3 Mar 2012 22:57:09 +0000 (+1100) Subject: godoc: hide "Subdirectories" subheading if it is the only section X-Git-Tag: weekly.2012-03-04~16 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=4314087b625b52f907424d54461b464bc45d23ec;p=gostls13.git godoc: hide "Subdirectories" subheading if it is the only section R=golang-dev, bradfitz CC=golang-dev https://golang.org/cl/5731056 --- diff --git a/lib/godoc/package.html b/lib/godoc/package.html index 3e8af0fca0..fdebbf5d91 100644 --- a/lib/godoc/package.html +++ b/lib/godoc/package.html @@ -163,7 +163,7 @@ {{with .Dirs}} {{/* DirList entries are numbers and strings - no need for FSet */}} -

Subdirectories

+ {{if $.PDoc}}

Subdirectories

{{end}}
Name