diff --git a/lib/godoc/package.html b/lib/godoc/package.html index 841ad8df0fd..01043b05f29 100644 --- a/lib/godoc/package.html +++ b/lib/godoc/package.html @@ -168,7 +168,11 @@ {{range .List}} - {{repeat `     ` .Depth}}{{html .Name}} + {{if $.DirFlat}} + {{html .Path}} + {{else}} + {{repeat `     ` .Depth}}{{html .Name}} + {{end}}      {{html .Synopsis}}