component ActivityFeed(entries []*arn.Activity, user *arn.User) h1 Activity .activities each entry in entries Activity(entry, user) component Activity(activity *arn.Activity, user *arn.User) h1= activity.Text() //- component ActivityFeed(entries []*arn.EditLogEntry, user *arn.User) //- h1 Activity //- .activities //- each entry in entries //- ActivityPost(entry.Object().(arn.Postable), user) //- component ActivityPost(post arn.Postable, user *arn.User) //- if post.Parent() != nil //- Postable(post, user, false, fmt.Sprintf(`

%s

`, post.Parent().Link(), html.EscapeString(post.Parent().TitleByUser(user))), "") //- else //- Postable(post, user, false, fmt.Sprintf(`

%s

`, post.Link(), html.EscapeString(post.TitleByUser(user))), "")