From 16fdfb54b83762b5cab6baa9eac829fd10a058cc Mon Sep 17 00:00:00 2001 From: Andrew Gerrand <adg@golang.org> Date: Thu, 6 Jun 2013 16:37:28 +1000 Subject: go.blog: don't show table of contents; it looks weird R=golang-dev, dsymonds CC=golang-dev https://golang.org/cl/10074043 --- template/doc.tmpl | 7 ------- 1 file changed, 7 deletions(-) (limited to 'template/doc.tmpl') diff --git a/template/doc.tmpl b/template/doc.tmpl index 549ba88..dcf21df 100644 --- a/template/doc.tmpl +++ b/template/doc.tmpl @@ -3,13 +3,6 @@ {{define "root"}} {{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 .}} -- cgit v1.2.3