mirror of
https://github.com/golang/go
synced 2024-11-24 14:10:03 -07:00
godoc: support flat directory view again
R=bradfitz CC=golang-dev https://golang.org/cl/5690058
This commit is contained in:
parent
1a1940c870
commit
89fd4dd766
@ -168,7 +168,11 @@
|
||||
{{range .List}}
|
||||
<tr>
|
||||
<td>
|
||||
{{repeat ` ` .Depth}}<a href="{{html .Path}}">{{html .Name}}</a>
|
||||
{{if $.DirFlat}}
|
||||
<a href="{{html .Path}}">{{html .Path}}</a>
|
||||
{{else}}
|
||||
{{repeat ` ` .Depth}}<a href="{{html .Path}}">{{html .Name}}</a>
|
||||
{{end}}
|
||||
</td>
|
||||
<td> </td>
|
||||
<td style="width: auto">{{html .Synopsis}}</td>
|
||||
|
Loading…
Reference in New Issue
Block a user