Refactoring render to not use Handlebars if there isn't really any content