mirror of
1
Fork 0
gotosocial/web/template/thread.tmpl

19 lines
453 B
Cheetah

{{ template "header.tmpl" .}}
<main>
<div data-nosnippet class="thread">
{{range .context.Ancestors}}
<div class="toot" id="{{.ID}}">
{{ template "status.tmpl" .}}
</div>
{{end}}
<div class="toot expanded" id="{{.status.ID}}">
{{ template "status.tmpl" .status}}
</div>
{{range .context.Descendants}}
<div class="toot" id="{{.ID}}">
{{ template "status.tmpl" .}}
</div>
{{end}}
</div>
</main>
{{ template "footer.tmpl" .}}