Closed alxbenz closed 6 years ago
Yep! Under the hood, gulp-hb
uses the handlebars-wax
library. It supports a pattern where you export a factory inside your custom helpers or partials files. The factory method will receive the handlebars instance as an argument. That's how handlebarts-layouts
does it.
Hi,
I want to create a custom partial helper. e.g.
{{include partialanme}}
instead of{{> partialname}}
Is there a way to reference the partials from within the helper function?