{{#each array as item}} {{#if item}}
foo
{{else}}
bar
{{/if}} {{/each}}