aboutsummaryrefslogtreecommitdiff
path: root/templates/thread.tmpl
blob: 8cf9ead32a5a3aa47b32d53bc1ef05cbcb8b953c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
{{with $s := .Data}}
{{template "header.tmpl" (WithContext .CommonData $.Ctx)}}
<div class="page-title"> Thread </div>

{{range .Statuses}}

{{template "status.tmpl" (WithContext . $.Ctx)}}
{{if $s.PostContext.ReplyContext}}{{if eq .ID $s.PostContext.ReplyContext.InReplyToID}}
{{template "postform.tmpl" (WithContext $s.PostContext $.Ctx)}}
{{end}}{{end}}

{{end}}

{{template "footer.tmpl"}}
{{end}}