From 0ee9872fcd5cf9023cb43a68faf67203cbe81295 Mon Sep 17 00:00:00 2001 From: Andrew Gerrand Date: Fri, 8 Mar 2013 09:22:40 +1100 Subject: go.blog: blog server R=golang-dev, dsymonds, r CC=golang-dev https://golang.org/cl/7382064 --- template/article.tmpl | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 template/article.tmpl (limited to 'template/article.tmpl') diff --git a/template/article.tmpl b/template/article.tmpl new file mode 100644 index 0000000..fae2333 --- /dev/null +++ b/template/article.tmpl @@ -0,0 +1,15 @@ +{{/* This file is combined with the root.tmpl to display a single article. */}} + +{{define "title"}}{{.Doc.Title}} - The Go Blog{{end}} +{{define "content"}} + {{template "doc" .Doc}} + {{with .Doc.Related}} +

Related articles

+ + {{end}} +{{end}} + -- cgit v1.2.3