Solved
check if the page url contain specific text
In htl how can we check if the page URL contains specific text ? ( intend to do it on the page rather than by Java )
${'a' in 'abc'} <!--/* returns true */--> does not work In htl how can we check if the page URL contains specific text ? ( intend to do it on the page rather than by Java )
${'a' in 'abc'} <!--/* returns true */--> does not work Hi,
It may not be working because of old HTL version (Shipped with AEM)
please check specifications at htl-spec/CHANGELOG.md at master · adobe/htl-spec · GitHub
I tried in AEM 6.5, it works.
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.