Handlebars template engine plugin for Bogart
npm install bogart-handlebars
|1||downloads in the last week|
|7||downloads in the last month|
|Version||0.1.3 last updated 2 years ago|
|Keywords||bogart, handlebars, template|
|Dependencies||handlebars, bogart, q|
bogart-handlebars is a handlebars adapter for the bogart view engine.
A note on partials and helpers
I strongly suggest you register partials and helpers globally with Handlebars rather than passing them in to the call to viewEngine.respond. Handlebars has a bug where if you pass ANY partials or helpers in to a compiled template function, your access to partials/helpers registered globally is COMPLETELY BLOCKED. So, either register all partials/helpers globally and never pass them to viewEngine.respond, or dont register them globally and pass them every time.