summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/godoc/package.html2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/godoc/package.html b/lib/godoc/package.html
index 155f24032..5a7f3ef97 100644
--- a/lib/godoc/package.html
+++ b/lib/godoc/package.html
@@ -3,6 +3,7 @@
Use of this source code is governed by a BSD-style
license that can be found in the LICENSE file.
-->
+{{if .IsPkg}}
<!-- Table of contents; must be named manual-nav to turn off auto nav. -->
<div id="manual-nav">
{{with .PDoc}}
@@ -37,6 +38,7 @@
</dl>
{{end}}
</div>
+{{end}}
<!-- Main page -->
{{with .PAst}}