diff --git a/lib/godoc/package.html b/lib/godoc/package.html
index cdebd4fc4a..3e8af0fca0 100644
--- a/lib/godoc/package.html
+++ b/lib/godoc/package.html
@@ -12,6 +12,9 @@
- Overview
- Index
+ {{if $.Examples}}
+ - Examples
+ {{end}}
{{if $.Dirs}}
- Subdirectories
{{end}}
@@ -54,7 +57,7 @@
{{if $.Examples}}
- Examples
+ Examples
{{range $.Examples}}
- {{example_name .Name}}