mirror of
https://github.com/golang/go
synced 2024-11-21 22:44:40 -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:
parent
227a04d771
commit
4314087b62
@ -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>
|
||||
|
Loading…
Reference in New Issue
Block a user