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