diff options
author | Andrew Gerrand <adg@golang.org> | 2013-03-08 09:22:40 +1100 |
---|---|---|
committer | Andrew Gerrand <adg@golang.org> | 2013-03-08 09:22:40 +1100 |
commit | 0ee9872fcd5cf9023cb43a68faf67203cbe81295 (patch) | |
tree | faa873e0163e1d1b35e86b812de77afd3da7f6bb /template/home.tmpl | |
parent | c26ca9cbba2bc725e1d7d26754ac5167a44ddb76 (diff) |
go.blog: blog server
R=golang-dev, dsymonds, r
CC=golang-dev
https://golang.org/cl/7382064
Diffstat (limited to 'template/home.tmpl')
-rw-r--r-- | template/home.tmpl | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/template/home.tmpl b/template/home.tmpl new file mode 100644 index 0000000..cda32d7 --- /dev/null +++ b/template/home.tmpl @@ -0,0 +1,9 @@ +{{/* This file is combined with the root.tmpl to display the blog home page. */}} + +{{define "title"}}The Go Programming Language Blog{{end}} +{{define "content"}} + {{range .Data}} + {{template "doc" .}} + {{end}} + <p>See the <a href="/index">index</a> for more articles. +{{end}} |