<html> <body> <h1>Users</h1> {{range .Users}} <b>{{.Name}}</b>, {{if OddUser .}} id {{.ID}} is odd {{end}} <br /> {{end}} </body> </html>