I am brand new to node and handlebars as of two days ago so bear with me. I am trying to use custom handlebars helpers but am not entirely sure where to put it.
I keep g
It looks like you need to use it like this, according to the docs found here: https://github.com/ericf/express-handlebars
var hbs = Handlebars.create({
// Specify helpers which are only registered on this instance.
helpers: {
foo: function () { return 'FOO!'; },
bar: function () { return 'BAR!'; }
}
});