bloat/templates/thread.tmpl
r 1d61f1aa27 Update the default theme
This uses better color contrast and component spacing to improve
legibility. The updated HTML also has better compatibility with browsers
with limited/no CSS support.
2023-12-28 13:27:30 +00:00

18 lines
486 B
Cheetah

{{with $s := .Data}}
{{template "header.tmpl" (WithContext .CommonData $.Ctx)}}
<div>
<h1>Thread <a class="page-link" href="{{$.Ctx.Referrer}}" accesskey="T" title="Refresh (T)">refresh</a></h1>
</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}}