summaryrefslogtreecommitdiff
path: root/template/article.tmpl
diff options
context:
space:
mode:
authorDimitri Sokolyuk <demon@dim13.org>2017-12-26 13:04:18 +0100
committerDimitri Sokolyuk <demon@dim13.org>2017-12-26 13:04:18 +0100
commitc3e64686145b5b2c31e72a182b3f8ff6c3ae3ef9 (patch)
tree219a56b651b50f7021e27b1cbc38360f8b876a0e /template/article.tmpl
parentaa3789452fd34c174268aaaa088e1fd97601a2d3 (diff)
Switch to bootstrap
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}}