Expand my Community achievements bar.

aem sightly Condition

Avatar

Level 2

Hi,

    Someone please help me.

 

<sly data-sly-test.lang="${val}" />
i am getting the current url in lang but when i m trying to test using below code it is getting false somewhere and i m not getting text ( true )  on page(view source). so is there any other condition in aem to use here.
 <sly data-sly-test="${lang == ''https://www.google.com''}">
    true
</sly>
1 Reply