aboutsummaryrefslogtreecommitdiff
path: root/template/doc.tmpl
diff options
context:
space:
mode:
authorAndrew Gerrand <adg@golang.org>2013-06-06 16:37:28 +1000
committerAndrew Gerrand <adg@golang.org>2013-06-06 16:37:28 +1000
commit16fdfb54b83762b5cab6baa9eac829fd10a058cc (patch)
treef27ee9cc8408b9a912d783ecb1bbb5344906febc /template/doc.tmpl
parented13557af76b9310fca1a272a8925195c510cf06 (diff)
go.blog: don't show table of contents; it looks weird
R=golang-dev, dsymonds CC=golang-dev https://golang.org/cl/10074043
Diffstat (limited to 'template/doc.tmpl')
-rw-r--r--template/doc.tmpl7
1 files changed, 0 insertions, 7 deletions
diff --git a/template/doc.tmpl b/template/doc.tmpl
index 549ba88..dcf21df 100644
--- a/template/doc.tmpl
+++ b/template/doc.tmpl
@@ -4,13 +4,6 @@
{{with .Subtitle}}<h2>{{.}}</h2>{{end}}
{{if .Doc | sectioned}}
- {{with $toc := .Sections}}
- <div id="toc">
- {{template "TOC" .}}
- </div>
- {{end}}
- {{end}}
- {{if .Doc | sectioned}}
{{range .Sections}}
{{elem $.Template .}}
{{end}}