bloat/templates/thread.tmpl

17 lines
465 B
Cheetah
Raw Normal View History

2020-01-14 16:57:16 +00:00
{{with $s := .Data}}
{{template "header.tmpl" (WithContext .HeaderData $.Ctx)}}
{{template "navigation.tmpl" (WithContext .NavbarData $.Ctx)}}
<div class="page-title"> Thread </div>
2019-12-13 18:08:26 +00:00
2019-12-18 22:14:02 +00:00
{{range .Statuses}}
2019-12-13 18:08:26 +00:00
2020-01-14 16:57:16 +00:00
{{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}}
2019-12-13 18:08:26 +00:00
{{end}}
{{template "footer.tmpl"}}
2020-01-14 16:57:16 +00:00
{{end}}