{{if .Profile.Header}} {{end}}
{{if .Profile.Avatar}} {{.Profile.Username}} {{end}}
{{/* On a remote profile the name links to the account's page on its own instance; hx-boost is off so the browser leaves the app. */}}

{{if and .Profile.Domain .Profile.ActorURI}}{{emojifyName .Profile.DisplayName .Profile.Emojis}}{{else}}{{emojifyName .Profile.DisplayName .Profile.Emojis}}{{end}}

{{if .Profile.IsBot}} {{T "profile.bot"}} {{end}}
{{if and .Account (ne .Account.ID .Profile.ID)}}
{{$rel := .Relationship}} {{if index $rel "requestsFollow"}}
{{end}} {{if not (index $rel "blocking")}} {{if index $rel "following"}}
{{range $.Lists}}
{{else}}{{T "lists.create"}}{{end}}
{{if index $rel "notifying"}}
{{else}}
{{end}} {{else if not (index $rel "followRequested")}} {{if index $rel "blockedBy"}}{{else}}
{{end}} {{end}} {{end}} {{if index $rel "blocking"}}
{{else}}
{{end}} {{if index $rel "muting"}}
{{else}}
{{end}}
{{end}}
{{if .ListAdded}}
{{T "profile.added_to_list"}}
{{end}}
@{{.Profile.Username}}{{if .Profile.Domain}}@{{.Profile.Domain}}{{end}} {{T "profile.created"}}: {{if and .Account (ne .Account.ID .Profile.ID)}} {{$rel := .Relationship}} {{if index $rel "followedBy"}}{{T "profile.follows_you"}}{{end}} {{if index $rel "blockedBy"}}{{T "profile.blocked_you"}}{{end}} {{if index $rel "blocking"}}{{T "profile.blocked"}}{{end}} {{if index $rel "followRequested"}}{{T "profile.requested"}}{{end}} {{end}}
{{if .Profile.Note}}
{{emojifyHTML .Profile.Note .Profile.Emojis}}
{{end}} {{if .BlogURL}}
{{T "profile.visit_blog"}}
{{end}} {{if .RSSFeedURL}}
{{T "profile.rss"}}
{{end}}
{{.StatusesCount}} {{T "profile.posts"}}
{{if .HideFollowers}}
{{T "profile.hidden"}} {{T "follow_list.followers"}}
{{else}}
{{if not (and .Account .Account.HideFollowerCounts)}}{{.FollowersCount}} {{end}}{{T "follow_list.followers"}}
{{end}} {{if .HideFollowing}}
{{T "profile.hidden"}} {{T "follow_list.following"}}
{{else}}
{{.FollowingCount}} {{T "follow_list.following"}}
{{end}}
{{if $posts}}
{{end}}
{{template "components/profile-live.html" .}}