{{#if foo}}

foo

{{else}}

not foo

{{/if}}