1
0
mirror of https://github.com/golang/go synced 2024-11-12 01:50:22 -07:00

godoc: hide "Subdirectories" subheading if it is the only section

R=golang-dev, bradfitz
CC=golang-dev
https://golang.org/cl/5731056
This commit is contained in:
Andrew Gerrand 2012-03-04 09:57:09 +11:00
parent 227a04d771
commit 4314087b62

View File

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