Could this be done with an `{{#if}}` in the template instead?