{{define "trello-boards"}} {{if .Boards}}

Trello Boards

{{range .Boards}} {{if .Cards}}

{{.Name}}

{{range .Cards}}

{{.Name}}

{{if .ListName}} {{.ListName}} {{end}} {{if .DueDate}} Due: {{.DueDate.Format "Jan 2"}} {{end}} {{if .URL}} View → {{end}}
{{end}}
{{end}} {{end}}
Empty Boards
{{range .Boards}} {{if not .Cards}}

{{.Name}}

No cards

{{end}} {{end}}
{{end}} {{end}}