Handlebars doesn't render boolean variables when false
Handlebars.js has some weird behavior. It renders a boolean with a value of true as the string "true", but a value of false as "". var booleanTestTrue = true; var booleanTestFalse = false; Template: True: {{booleanTestTrue}} False: {{booleanTestFalse}} Renders to: True: true False: (empty string) Is there any way to fix this problem? Or do I have to write a helper? Aaks20 You can use a simple block helper and implement #if like the following: {{#if isTrue}} true {{else}} false {{/if}} If you want to print a string, you should pass a string. false.toString(); Otherwise, yeah you would need a