Fixes godoc text mode (i.e., URL?m=text).
R=golang-dev, adg
CC=golang-dev
https://golang.org/cl/
5545043
{{end}}
{{with .PDoc}}
<h2 id="Overview">Overview</h2>
- <!-- PackageName is printed as title by the top-level template -->
+ <!-- The package's Name is printed as title by the top-level template -->
{{if $.IsPkg}}
<p><code>import "{{html .ImportPath}}"</code></p>
{{end}}
*/}}{{with .PDoc}}{{if $.IsPkg}}PACKAGE
-package {{.PackageName}}
+package {{.Name}}
import "{{.ImportPath}}"
{{else}}COMMAND DOCUMENTATION