how to display something with condition in htl?

Avatar

Avatar

tahir1601

Avatar

tahir1601

tahir1601

07-05-2019

for example i have the below code to be displayed when certain criteria is true

<span class='breadcrumb-separator'>

<font style="vertical-align: inherit;">&gt;</font>

</span>

conditon is certain count is less than 3

if the count is greater than 3, i dont want the above &gt to be displayed

View Entire Topic

Avatar

Avatar

berliant

Employee

Avatar

berliant

Employee

berliant
Employee

07-05-2019

Just to add to the previous reply: official documentation for data-sly-test usage:

HTL Block Statements