String / Variable Concatenation to build Path for partial

Perfect, thanks @bjornerik !

For the record, the following worked for my case:

{{ range $index, $component := .Params.components }}
  {{ $path := $component | printf "%s/%s" $.Site.Params.componentdir | printf "%s" }}
  {{ partial $path }}
{{ end }}

Thanks again!

3 Likes