commit | aec836b41f936f3058e25db004fc52447c567cfa | [log] [tgz] |
---|---|---|
author | Andrew Gerrand <adg@golang.org> | Mon Feb 22 08:20:50 2016 +1100 |
committer | Andrew Gerrand <adg@golang.org> | Mon Feb 22 00:30:56 2016 +0000 |
tree | 7eb68df89f53e5d00384ca84f0a06fd5bd6f7cf2 | |
parent | d44c702087651010ca6d466d39132ac000026530 [diff] |
template: remove duplicate element id Fixes golang/go#14435 Change-Id: Icf318cc2a8c71258e1c8f415e588e508c29f3a06 Reviewed-on: https://go-review.googlesource.com/19782 Reviewed-by: Rob Pike <r@golang.org>
diff --git a/template/index.tmpl b/template/index.tmpl index 9b77440..24ed3ff 100644 --- a/template/index.tmpl +++ b/template/index.tmpl
@@ -24,7 +24,7 @@ {{/* The dashes in the following template directives ensure the generated HTML of this list contains no extraneous spaces or line breaks. */}} - <ul id="sidebar"> + <ul> {{- range .Links}} <li><a href="{{.URL}}">{{.Title}}</a></li> {{- end}}