Handlebars.registerHelper('check', function(value, comparator) { return (value === comparator) ? 'No content' : value; });