From 4314087b625b52f907424d54461b464bc45d23ec Mon Sep 17 00:00:00 2001 From: Andrew Gerrand Date: Sun, 4 Mar 2012 09:57:09 +1100 Subject: [PATCH] godoc: hide "Subdirectories" subheading if it is the only section R=golang-dev, bradfitz CC=golang-dev https://golang.org/cl/5731056 --- lib/godoc/package.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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