mirror of
https://github.com/golang/go
synced 2024-11-24 23:17:57 -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}}
|
{{with .Dirs}}
|
||||||
{{/* DirList entries are numbers and strings - no need for FSet */}}
|
{{/* 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">
|
<table class="dir">
|
||||||
<tr>
|
<tr>
|
||||||
<th>Name</th>
|
<th>Name</th>
|
||||||
|
Loading…
Reference in New Issue
Block a user