aboutsummaryrefslogtreecommitdiff
path: root/templates/thread.tmpl
blob: 2927ee4b04ae975d34a02d4faae8af1eee816845 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
{{with $s := .Data}}
{{template "header.tmpl" (WithContext .HeaderData $.Ctx)}}
{{template "navigation.tmpl" (WithContext .NavbarData $.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}}