Solved
script validation error for or condition in sightly
I have tried the following snippets for testing whether an 'OR' condition gets satisfied in sightly.
<sly data-sly-test=" ${roottitle!='en'||roottitle!='es'}">
<sly data-sly-test=" ${roottitle!='en'||'es'}">
if this is success then there are a series of markup to be added
Both statements result in build error saying:
redundant constant value comparison
How to do proper or condition and check multiple values properly in sightly?