Sightly template question
I am trying to call a template with multiple values (as shown below)
<template data-sly-template.hero="${ @ container,bgImage,props }">
<div class="${container}" style="background-image: url('${bgImage}');">
<text>props.title</text>
</div>
</template>
<sly data-sly-call="${hero @ container='web-container',
bgImage=properties.bannerImage,
props=properties}" />
The 'container' and 'props' paraemeters are rendering correctly; however bgImage is not rendering at all.
Example of Output:
<div class="web-container" sytle="background: url('');">
<text>My Title</text>
</div>
When I try to print ${properties.bannerImage} I am able to render it "/some/path/to/file.jpeg"
Is this a bug or am I doing something wrong?