Hi
I want to give a dynamic value in data-sly-resource, could someone please help how to achieve it.
I want to make the path of the resource as a dynamic value
<div data-sly-resource ="${'/content/new-page/jcr:content/parsys'}" data-sly-unwrap></div>
want to change it to something like
<div data-sly-resource ="${ currentPage.path + '/jcr:content/parsys'}" data-sly-unwrap></div>
Please help, Thanks in advance.