aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Gerrand <adg@golang.org>2014-07-29 18:02:50 +1000
committerAndrew Gerrand <adg@golang.org>2014-07-29 18:02:50 +1000
commita96a0492de8318de52f2e59f5185f2fe5f2f0ace (patch)
tree4b05d4755401621a63dcb6e5861222d73b76d834
parentb3b6e6c7b303c2a3c0de82a27ce26c6dcf87fcf0 (diff)
go.blog: tidy up sidebar
The sidebar in individual article view is unwieldy. Remove related articles, Google Developers links (that nobody clicks), and remove the heading about the "Article index" link. LGTM=dsymonds R=dsymonds CC=golang-codereviews https://golang.org/cl/120870044
-rw-r--r--template/root.tmpl20
1 files changed, 1 insertions, 19 deletions
diff --git a/template/root.tmpl b/template/root.tmpl
index f3d3fc5..f592043 100644
--- a/template/root.tmpl
+++ b/template/root.tmpl
@@ -78,15 +78,6 @@
<h4>Previous article</h4>
<p><a href="{{.Path}}">{{.Title}}</a></p>
{{end}}
-
- {{with .Related}}
- <h4>Related articles</h4>
- <ul>
- {{range .}}
- <li><a href="{{.Path}}">{{.Title}}</a></li>
- {{end}}
- </ul>
- {{end}}
{{end}}
<h4>Links</h4>
@@ -101,16 +92,7 @@
<li><a href='//twitter.com/golang'>Go on Twitter</a></li>
</ul>
- <h4>Keep up with Google Developers</h4>
- <ul>
- <li><a href='//plus.google.com/+GoogleDevelopers/posts'>Google Developers +Page</a></li>
- <li><a href='//developers.google.com/live/'>Google Developers Live</a></li>
- <li><a href='//developers.google.com/'>Google Developers</a></li>
- <li><a href='//googledevelopers.blogspot.com/'>Google Developers Blog</a></li>
- </ul>
-
- <h4>Blog Archive</h4>
- <p><a href="{{.BasePath}}/index">Article index</a></p>
+ <p><a href="{{.BasePath}}/index">Blog index</a></p>
</div><!-- #sidebar -->
<div id="content">