{{define "public"}} Public Feed - Hummingbard {{template "common-head" .}}
{{if .LoggedInUser}} {{template "nav" Map "Page" .}} {{end}}
{{template "header" Map "Page" . "Name" "public"}}
Public Feed
{{$hms := .HomeServerURL}} {{$rpth := .Room.Path}} {{$liu := .LoggedInUser}} {{if .Posts}} {{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}} {{end}} {{end}} {{else}}
No posts yet
{{end}}
{{template "state" .}}
{{end}}