{{if eq .Timeline "home"}}{{T "timeline.home"}}{{else if eq .Timeline "public"}}{{T "timeline.federated"}}{{else if eq .Timeline "local"}}{{T "timeline.local"}}{{else if eq .Timeline "bubble"}}{{T "timeline.bubble"}}{{else if eq .Timeline "bookmarks"}}{{T "mobile.bookmarks"}}{{else if eq .Timeline "direct"}}{{T "mobile.direct"}}{{else}}{{T "timeline.default"}}{{end}}

{{template "components/timeline-nav.html" dict "Timeline" .Timeline "Account" .Account}} {{/* The composer is rendered after the feed and lifted back above it by .timeline's flex order, so the posts are what follows the navigation for anyone reading the page in the order it was written: a screen reader, a keyboard, a text browser. On screen nothing moves. The link is how those readers reach the form without scrolling past the feed. */}} {{if .Account}} {{end}}
{{range .Statuses}} {{statusCard . $.Account $.CSRFToken}} {{else}}

{{T "timeline.nothing_here"}}

{{if eq .Timeline "home"}}

{{T "timeline.empty_home"}}

{{else if eq .Timeline "bookmarks"}}

{{T "timeline.empty_bookmarks_prefix"}} {{T "timeline.empty_bookmarks_suffix"}}

{{else if eq .Timeline "direct"}}

{{T "timeline.empty_direct_prefix"}} {{T "timeline.empty_direct_direct_word"}} {{T "timeline.empty_direct_suffix"}}

{{else}}

{{T "timeline.empty_default"}}

{{end}}
{{end}}
{{if .Statuses}} {{$more := "/"}}{{if eq .Timeline "public"}}{{$more = "/public"}}{{else if eq .Timeline "local"}}{{$more = "/public/local"}}{{else if eq .Timeline "bubble"}}{{$more = "/public/bubble"}}{{else if eq .Timeline "bookmarks"}}{{$more = "/bookmarks"}}{{else if eq .Timeline "direct"}}{{$more = "/direct"}}{{end}} {{T "tag.load_older"}} {{end}} {{if .Account}} {{if and .Account.HideTimelineComposer (not .QuotedStatus) (not .DraftContent)}}
{{T "composer.post"}} {{template "components/composer.html" dict "Account" .Account "CSRFToken" .CSRFToken "QuoteOf" .QuotedStatus "DraftContent" .DraftContent "DraftMarkdown" .DraftMarkdown "DraftMarkdownSet" .DraftMarkdownSet "DraftSummary" .DraftSummary "DraftSensitive" .DraftSensitive "DraftVisibility" .DraftVisibility "DraftLanguage" .DraftLanguage "DraftIsBlogPost" .DraftIsBlogPost}}
{{else}} {{template "components/composer.html" dict "Account" .Account "CSRFToken" .CSRFToken "QuoteOf" .QuotedStatus "DraftContent" .DraftContent "DraftMarkdown" .DraftMarkdown "DraftMarkdownSet" .DraftMarkdownSet "DraftSummary" .DraftSummary "DraftSensitive" .DraftSensitive "DraftVisibility" .DraftVisibility "DraftLanguage" .DraftLanguage "DraftIsBlogPost" .DraftIsBlogPost}} {{end}} {{end}}