{{with .Data}} {{if .Muted}}
muted post {{end}}
{{if .Reblog}}
avatar {{EmojiFilter (HTML .Account.DisplayName) .Account.Emojis | Raw}} @{{.Account.Acct}} retweeteed
{{template "status" (WithContext .Reblog $.Ctx)}}
{{else}} {{block "status" (WithContext . $.Ctx)}} {{with $s := .Data}}
{{EmojiFilter (HTML .Account.DisplayName) .Account.Emojis | Raw}} {{if .Account.Bot}}🤖{{end}} @{{.Account.Acct}}
source quickreply {{if .Muted}}
{{else}}
{{end}} {{if .Bookmarked}}
{{else}}
{{end}} {{if eq $.Ctx.UserID .Account.ID}} {{$pin := "pin"}} {{if .Pinned}} {{$pin = "unpin"}} {{end}}
{{end}}
{{if .InReplyToID}} in reply to {{if .IDNumbers}}#{{index .IDNumbers .InReplyToID}}{{end}} {{if .Pleroma.InReplyToAccountAcct}}@{{.Pleroma.InReplyToAccountAcct}}{{else if not .IDNumbers}}{{.InReplyToID}}{{end}} {{if index .IDReplies .ID}} - {{end}} {{end}} {{if .ShowReplies}} {{if index .IDReplies .ID}} replies: {{end}} {{range index .IDReplies .ID}} #{{.Number}} {{end}} {{end}}
{{if (or .Content .SpoilerText)}}
{{if .Sensitive}}[NSFW]
{{end}} {{- if .SpoilerText}}{{EmojiFilter (HTML .SpoilerText) .Emojis | Raw}}
{{end -}} {{if .Sensitive}}
{{end}} {{- StatusContentFilter .Content .Emojis .Mentions | Raw -}} {{if .Pleroma.Quote}}
quoted post {{template "status" (WithContext .Pleroma.Quote $.Ctx)}}
{{end}} {{if .Sensitive}}
{{end}}
{{end}} {{$st_id := .ID}} {{if .Pleroma.Reactions}}
{{range .Pleroma.Reactions}} {{$react := "react"}} {{if .Me}} {{$react = "unreact"}} {{end}}
{{if .Url}} {{else}} {{end}}
{{end}}
{{end}} {{if .MediaAttachments}} {{if .Sensitive}}
NSFW attachments{{end}}
{{range .MediaAttachments}} {{if eq .Type "image"}} {{if $.Ctx.HideAttachments}} [image{{if $s.Sensitive}}/nsfw{{end}}{{if .Description}}: {{.Description}}{{end}}] {{else}} status-image {{if (and $.Ctx.MaskNSFW $s.Sensitive)}}
{{end}}
{{end}} {{else if eq .Type "audio"}} {{if $.Ctx.HideAttachments}} [audio{{if $s.Sensitive}}/nsfw{{end}}{{if .Description}}: {{.Description}}{{end}}] {{else}} {{end}} {{else if eq .Type "video"}} {{if $.Ctx.HideAttachments}} [video{{if $s.Sensitive}}/nsfw{{end}}{{if .Description}}: {{.Description}}{{end}}] {{else}}
{{if (and $.Ctx.MaskNSFW $s.Sensitive)}}
{{end}}
{{end}} {{else}} [attachment{{if $s.Sensitive}}/nsfw{{end}}{{if .Description}}: {{.Description}}{{end}}] {{end}} {{end}}
{{if .Sensitive}}
{{end}} {{end}} {{if .Poll}}
{{range $i, $o := .Poll.Options}}
{{if (or $s.Poll.Expired $s.Poll.Voted)}}
{{EmojiFilter (HTML $o.Title) $s.Emojis | Raw}} - {{$o.VotesCount}} votes
{{else}} {{end}}
{{end}} {{if not (or .Poll.Expired .Poll.Voted)}} {{end}}
{{.Poll.VotesCount}} votes {{if .Poll.Expired}} - poll expired {{else if .Poll.ExpiresAt}} - poll ends in {{end}}
{{end}}
{{if eq (printf "%.7s" .URL) "/search"}} {{else}} {{end}}
{{$rt := "retweet"}} {{if .Reblogged}} {{$rt = "unretweet"}} {{end}}
{{if or (eq .Visibility "private") (eq .Visibility "direct")}} Locked {{else}} {{end}}
{{if and (not $.Ctx.AntiDopamineMode) .ReblogsCount}} ({{DisplayInteractionCount .ReblogsCount}}) {{end}}
{{if .EditedAt}} {{end}}
{{end}} {{end}} {{end}}
{{if .Muted}}
{{end}} {{end}}