{{/* Input: dict "status" "positive|neutral|negative" "icon" "fa-house" "title" "Mantelzorgwoning" */}} {{- $status := .status -}} {{- $icon := .icon -}} {{- $title := .title -}} {{- $color := cond (eq $status "positive") "text-success" (cond (eq $status "neutral") "text-warning" "text-danger") -}}