{{define "index"}} Hummingbard - Matrix-powered communities {{template "common-head" .}}
{{template "header" Map "Page" . "Name" "index"}}
Hummingbard
Decentralized Communities For The Future
{{if gt (len .PublicRooms) 0}}
new communities
{{end}}
Public Feed
{{$hms := .HomeServerURL}} {{$rpth := .Room.Path}} {{if .Posts}} {{range $idx, $post := .Posts}} {{if (eq $post.Type "com.hummingbard.post")}} {{template "timeline-event" Map "Event" $post "HomeServerURL" $hms "RoomPath" $rpth}} {{end}} {{end}} {{else}}
No posts yet
{{end}}
{{template "state" .}}
{{end}}