aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBenny Siegert <bsiegert@gmail.com>2012-03-26 09:12:15 -0700
committerBrad Fitzpatrick <bradfitz@golang.org>2012-03-26 09:12:15 -0700
commitf4ec146454171751e2239528509a46afcf9110f3 (patch)
tree02912bd77244fa286c43c10a1814b8150142d6ca
parent6421bdeb71b3900b495535959259fbb24d83d407 (diff)
downloadgo-f4ec146454171751e2239528509a46afcf9110f3.tar.gz
go-f4ec146454171751e2239528509a46afcf9110f3.zip
doc: Change id of footer
The heading "Copyright" uses id="copyright" as the anchor name. However, there is also a <div id="copyright"> at the bottom. Using the same ID value twice in the same file is illegal (http://www.w3.org/TR/html401/struct/links.html#h-12.2.3). R=golang-dev, bradfitz, rsc CC=golang-dev https://golang.org/cl/5909045
-rw-r--r--doc/style.css2
-rw-r--r--lib/godoc/godoc.html2
2 files changed, 2 insertions, 2 deletions
diff --git a/doc/style.css b/doc/style.css
index ea66f988a6..95be3a17a4 100644
--- a/doc/style.css
+++ b/doc/style.css
@@ -150,7 +150,7 @@ div#plusone {
float: right;
}
-div#copyright {
+div#footer {
color: #666;
font-size: 14px;
margin: 40px 0;
diff --git a/lib/godoc/godoc.html b/lib/godoc/godoc.html
index feb96e50f4..d970778c46 100644
--- a/lib/godoc/godoc.html
+++ b/lib/godoc/godoc.html
@@ -50,7 +50,7 @@
</div>
-<div id="copyright">
+<div id="footer">
Build version {{html .Version}}.
Except as noted, this content is licensed under a
Creative Commons Attribution 3.0 License.