{ post.Category.Name }: { post.Title } for _, c := range categories { if c.ID == post.Category.ID { { c.Name } } else { { c.Name } } } @templ.Raw(post.Body) Edit Delete