diff --git a/lib/godoc/package.html b/lib/godoc/package.html
index e67cf93bed..cff91fa226 100644
--- a/lib/godoc/package.html
+++ b/lib/godoc/package.html
@@ -73,6 +73,11 @@
{{if .Bugs}}
Bugs
{{end}}
+ {{if .Notes}}
+ {{range $marker, $item := .Notes}}
+ {{$marker}}
+ {{end}}
+ {{end}}
@@ -168,6 +173,14 @@
{{comment_html .}}
{{end}}
{{end}}
+ {{with .Notes}}
+ {{range $marker, $content := .}}
+ {{$marker}}
+ {{range .}}
+ {{comment_html .}}
+ {{end}}
+ {{end}}
+ {{end}}
{{end}}
{{with .PAst}}
diff --git a/lib/godoc/package.txt b/lib/godoc/package.txt
index 8b9ec456bf..12964b0010 100644
--- a/lib/godoc/package.txt
+++ b/lib/godoc/package.txt
@@ -61,7 +61,12 @@ TYPES
BUGS
{{range .}}{{comment_text . " " "\t"}}
-{{end}}{{end}}{{end}}{{/*
+{{end}}{{end}}{{with .Notes}}
+{{range $marker, $content := .}}
+{{$marker}}
+
+{{range $content}}{{comment_text . " " "\t"}}
+{{end}}{{end}}{{end}}{{end}}{{/*
---------------------------------------