I understand that conditional logic is not built into handlebars however I believe what i have should be ok, if not could someone help me find a solution if it'll work then I am not getting the expected result I am aiming for then why and how to fix.
My aim to show something if my array item title = 'bobs car'
My current code
<h3> "Intelliga Esker Kitchen"</h3>
<p>Yes title</p>
<p>No title</p>
and tried
<h3>""</h3>
<p>Yes title</p>
<p>No title</p>
the second returns No title but should return Yes title
Aucun commentaire:
Enregistrer un commentaire