{{ define "main" }}
| Title | Labels | Milestone | |
|---|---|---|---|
| {{ partial "state-badge.html" . }} | {{- with .Params.number -}}#{{ . }} {{ end -}} {{- .Title -}} | {{ with .Params.labels }} {{ $colors := $.Params.label_colors }} {{ $textColors := $.Params.label_text_colors }} {{ range . }} {{ $color := index $colors . | default "d0d7de" }} {{ $textColor := index $textColors . | default "#1f2328" }} {{ partial "label.html" (dict "name" . "color" $color "text_color" $textColor) }} {{ end }} {{ end }} | {{ with .Params.milestone }}{{ . }}{{ end }} |