blob: fae23338582cd04c9c343b9ea754cb70ac5c16b0 [file] [log] [blame]
{{/* 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}}
<h1>Related articles</h1>
<ul>
{{range .}}
<li><a href="{{.Path}}">{{.Title}}</a></li>
{{end}}
</ul>
{{end}}
{{end}}