diff options
author | Andrew Gerrand <adg@golang.org> | 2013-09-19 15:20:22 +1000 |
---|---|---|
committer | Andrew Gerrand <adg@golang.org> | 2013-09-19 15:20:22 +1000 |
commit | e0d1e2fc72f2407d54a88bbb037f76b0bedd83bb (patch) | |
tree | ddd0dc1a7eebc96a038f1e2765c6d070290abed8 /template/root.tmpl | |
parent | 271841ab79d5163e1520e5b8eee5cf170bfe4aab (diff) |
go.blog: add heading, fix menu link, tweak styles
R=r
CC=golang-dev
https://golang.org/cl/13458046
Diffstat (limited to 'template/root.tmpl')
-rw-r--r-- | template/root.tmpl | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/template/root.tmpl b/template/root.tmpl index c30f6a4..53ccdba 100644 --- a/template/root.tmpl +++ b/template/root.tmpl @@ -41,6 +41,9 @@ #content .iframe, #content .image { margin: 20px; } + #content .title { + margin: 20px 0; + } </style> </head> <body> @@ -53,7 +56,7 @@ <a href="{{.GodocURL}}/pkg/">Packages</a> <a href="{{.GodocURL}}/project/">The Project</a> <a href="{{.GodocURL}}/help/">Help</a> -<a href="{{.GodocURL}}/blog/">Blog</a> +<a href="{{.BasePath}}/">Blog</a> <input type="text" id="search" name="q" class="inactive" value="Search" placeholder="Search"> </div> <div id="heading"><a href="{{.GodocURL}}/">The Go Programming Language</a></div> @@ -111,6 +114,7 @@ </div><!-- #sidebar --> <div id="content"> + <h1><a href="{{.BasePath}}/">The Go Blog</a></h1> {{template "content" .}} </div><!-- #content --> @@ -168,7 +172,7 @@ $(function() { {{define "doc"}} <div class="article"> - <h1 class="title"><a href="{{.Path}}">{{.Title}}</a></h1> + <h3 class="title"><a href="{{.Path}}">{{.Title}}</a></h3> <p class="date">{{.Time.Format "2 January 2006"}}</p> {{.HTML}} {{with .Authors}} |