before

{{#if foo}}

foo!

{{/if}}

after