{{define "index-user"}} Hummingbard {{template "common-head" .}}
{{if .LoggedInUser}} {{template "nav" Map "Page" .}} {{end}}
{{template "header" Map "Page" . "Name" "index-user"}}
{{if .Posts}}
Your feed
{{if and .LoggedInUser }}
{{end}}
{{$rpth := "index-user"}} {{$liu := .LoggedInUser}} {{$hms := .HomeServerURL}} {{range $idx, $post := .Posts}} {{if and (eq $post.Type "com.hummingbard.post") (not $post.Redacted)}} {{template "timeline-event" Map "Event" $post "HomeServerURL" $hms "RoomPath" $rpth "LoggedInUser" $liu "UserFeed" true}} {{end}} {{end}}
{{else}}
Your feed looks a bit empty.
{{end}}
{{template "state" .}}
{{end}}