diff options
author | Andrew Gerrand <adg@golang.org> | 2012-03-04 09:57:09 +1100 |
---|---|---|
committer | Andrew Gerrand <adg@golang.org> | 2012-03-04 09:57:09 +1100 |
commit | 4314087b625b52f907424d54461b464bc45d23ec (patch) | |
tree | bec73a93c9b8be595810b0be038f9b8b0c4c793f /lib | |
parent | 227a04d771c98f858663b56bd1bc10640097751d (diff) | |
download | go-git-4314087b625b52f907424d54461b464bc45d23ec.tar.gz |
godoc: hide "Subdirectories" subheading if it is the only section
R=golang-dev, bradfitz
CC=golang-dev
https://golang.org/cl/5731056
Diffstat (limited to 'lib')
-rw-r--r-- | lib/godoc/package.html | 2 |
1 files changed, 1 insertions, 1 deletions
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 */}} - <h2 id="subdirectories">Subdirectories</h2> + {{if $.PDoc}}<h2 id="subdirectories">Subdirectories</h2>{{end}} <table class="dir"> <tr> <th>Name</th> |