How can I render the values of two variables {{item_link}}
and {{item_value}}
inside the same div class?
I am using the #if
helper to conditionally render the block. If I render them separately I am able to evaluate them, but if I try doing something like {{#if item_link && item_value}}
, so I can then use them inside the div, it does not work. These are Handlebars layout templates. Is there a way to do it? Thanks!