blob: 2bb3b7b44cd69163ded27108f2420cf1675be475 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
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}}
<h2>Related articles</h2>
<ul>
{{range .}}
<li><a href="{{.Path}}">{{.Title}}</a></li>
{{end}}
</ul>
{{end}}
{{end}}
|