You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The {{#if}}-helper only checks for truthy values and it takes only one argument. If you want to compare things, you need to register your own helper: Have a look at #206 for examples on how to achieve this.
I have a categories array:
And i have a setting variable:
"category_id": "1"
in HTML:
OUTPUT:
<a href="/women/">Women</a>
==> This is correctly output.
BUT WHEN I USING category_id VARIABLE:
==> It's not working. :((
So my question is: Is there anyway to check condition with a variable?
The text was updated successfully, but these errors were encountered: