Hi i’m trying to display data based on a page parameter, but struggling to join them together to render the correct data tag which in this example should be .Site.Data.contact.subTypeExample.email. Print seems to correctly join them together but it prints it as a string instead of rendering the data value. Is there a correct way of doing this, apologise if this is simple stuff.
{{$first := ".Site.Data.contact."}}
{{$type := $.Param "subType"}}
{{$last := ".email"}}
{{$all := print $first $type $last}}
{{ $all }}