mirror of
https://github.com/golang/go
synced 2024-11-21 23:54:40 -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}}
|
{{range .List}}
|
||||||
<tr>
|
<tr>
|
||||||
<td>
|
<td>
|
||||||
|
{{if $.DirFlat}}
|
||||||
|
<a href="{{html .Path}}">{{html .Path}}</a>
|
||||||
|
{{else}}
|
||||||
{{repeat ` ` .Depth}}<a href="{{html .Path}}">{{html .Name}}</a>
|
{{repeat ` ` .Depth}}<a href="{{html .Path}}">{{html .Name}}</a>
|
||||||
|
{{end}}
|
||||||
</td>
|
</td>
|
||||||
<td> </td>
|
<td> </td>
|
||||||
<td style="width: auto">{{html .Synopsis}}</td>
|
<td style="width: auto">{{html .Synopsis}}</td>
|
||||||
|
Loading…
Reference in New Issue
Block a user