Commit 4314087b authored by Andrew Gerrand's avatar Andrew Gerrand

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

R=golang-dev, bradfitz
CC=golang-dev
https://golang.org/cl/5731056
parent 227a04d7
......@@ -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>
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment