{{with .Data}} {{template "header.tmpl" (WithContext .CommonData $.Ctx)}}
User
{{if eq .Type ""}}
Statuses
{{range .Statuses}} {{template "status.tmpl" (WithContext . $.Ctx)}} {{else}}
No data found
{{end}} {{else if eq .Type "following"}}
Following
{{template "userlist.tmpl" (WithContext .Users $.Ctx)}} {{else if eq .Type "followers"}}
Followers
{{template "userlist.tmpl" (WithContext .Users $.Ctx)}} {{else if eq .Type "media"}}
Statuses with media
{{range .Statuses}} {{template "status.tmpl" (WithContext . $.Ctx)}} {{else}}
No data found
{{end}} {{else if eq .Type "bookmarks"}}
Bookmarks
{{range .Statuses}} {{template "status.tmpl" (WithContext . $.Ctx)}} {{else}}
No data found
{{end}} {{end}} {{template "footer.tmpl"}} {{end}}