shannonmoeller / handlebars-layouts

Handlebars helpers which implement layout blocks similar to Jinja, Nunjucks (Swig), Pug (Jade), and Twig.

Home Page:http://npm.im/handlebars-layouts

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Extend partials by path.

vilicvane opened this issue · comments

Hi, sometime register partials could be annoying, I find it is not hard to implement path support. Would you like a pull request for this feature?

These helpers do not register new partials. They just provide a means of using partials that have already been registered. Touching the file system would break browser support.

I see, thanks for clarifying. :D

Thanks for the offer though!

If you're looking for a quick way to register partials in Node, you might like handlebars-registrar.

Will take a look~ ;)