summaryrefslogtreecommitdiff
path: root/template/article.tmpl
diff options
context:
space:
mode:
Diffstat (limited to 'template/article.tmpl')
-rw-r--r--template/article.tmpl6
1 files changed, 5 insertions, 1 deletions
diff --git a/template/article.tmpl b/template/article.tmpl
index 426ce9f..7d38dda 100644
--- a/template/article.tmpl
+++ b/template/article.tmpl
@@ -8,7 +8,11 @@
{{with .Related}}
<section>
<h3>Related articles</h3>
- {{template "list" .}}
+ <ul>
+ {{range .}}
+ <li><a href="{{.Path}}">{{.Title}}</a></li>
+ {{end}}
+ </ul>
</section>
{{end}}
{{end}}