{{ $uniqueCategories := slice }} {{ range .Params.catalog }} {{ if not (in $uniqueCategories .cat) }} {{ $uniqueCategories = $uniqueCategories | append .cat }}
{{ end }} {{ end }}
{{ range .Params.catalog }} {{ if ne .item "" }}
{{ if .thumbnail }} Thumbnail {{ else }}
{{ end }}
{{ .item }} {{ if ne .cat "" }}
{{ .cat }}
{{ end }}
{{ if ne .quant "" }}
Quantity: {{ .quant }}
{{ end }} {{ if ne .dimensions "" }}
Dimensions: {{ .dimensions }}
{{ end }}
{{ if ne .baseCost "" }}
Purchase Cost: {{ .purchaseCost }}
{{ end }}{{ if ne .baseCost "" }}
Rental Cost: {{ .baseCost }}
{{ end }} {{ if ne .deliveryPickup "" }}
+ Delivery Both Ways: {{ .deliveryPickup }}
{{ end }}
— or —
{{ if ne .installBreakdown "" }}
+ Setup & Breakdown: {{ .installBreakdown }}
{{ end }}
{{ end }} {{ end }}