{{ define "view_object" }}
icon

{{ .ViewContext.AttributedTo }} wrote {{ if .ViewContext.HasParent }} to {{ .ViewContext.ParentAttributedTo }} {{ end }} {{ if .ViewContext.HasPublishedAt }} on {{ datetime .ViewContext.PublishedAt }} {{ end }} {{ if .ViewContext.HasAnnouncer }} boosted by {{ .ViewContext.Announcer }} {{ end }}

{{ .ViewContext.Content | wrapMaybe | toHTML }} {{ if .ViewContext.Media }} {{ end }} {{ if or .ViewContext.TotalAnnounces .ViewContext.TotalReplies .ViewContext.ViewerAnnounced }} {{ end }} {{ range .Children }} {{template "view_object" . }} {{ end }}
{{ end }}