blob: e461ce26b32ed2d157b52fd22eb7881f350d978d (
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}}{{end}}
{{define "content"}}
{{with .Doc}}
{{template "doc" .}}
{{with .Related}}
<h5>Related articles</h5>
<ul>
{{range .}}<li><a href="{{.Path}}">{{.Title}}</a></li>{{end}}
</ul>
{{end}}
{{end}}
{{end}}
|