{{ $color := .Get "color" }} {{ $text := .Get "text" }} {{ partial "components/badge.html" (dict "color" $color "content" $text) }}