How to set convenience variables in sightly?
Hey all,
is there a way to set variables in sightly? Basically I have a lot of variables in my html template and it's getting kind of messy, especially with things like inherited properties [1] and combination of properties for conditions [2]. In a jsp I could just use <c:set> but not here. Any suggestions?
Thanks!
Paul
[1] example for long properties: ${inheritedPageProperties['parBloc1/topbanner/narrow']}
[2] data-sly-test="${inheritedPageProperties['parBloc1/topbanner/narrow'] && inheritedPageProperties['parBloc1/topbanner/test']}"
