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

assemble / template

jonschlinkert opened this issue · comments

Hey @shannonmoeller, we love this lib you've created, thank you!

I'm going to be releasing a new version of handlebars-helpers in the next couple of days - and assemble v0.6.0 will be directly after that, and I just wanted to make sure it's okay with you if I direct our users to your lib for layout helpers going forward. From our standpoint it just makes more sense, especially with the features you introduced in v1.0 - no need for us to continue reinventing the wheel with this.

Also, we still get a lot of requests on assemble and related projects for "more advanced" layout helpers, I can try to link a couple here, but I wanted to make sure this was okay with you first, and if so, get your thoughts on how we might collaborate to implement some of the things that we'd like to have - also keeping in mind that it needs to make sense for what you'd like to achieve with this project as well.

if you'd rather us just keep things separate, I totally won't be offended. Either way I appreciate what you've created here!

(btw, we won't be using the janky register stuff anymore, I appreciate you showing some love for our users by supporting that!)

cc/ @doowb

Why, thank you. I'm honored. I'd be very happy to have you recommend my little helpers.

Feel free to create new issues for the requested features and we can dig into the specifics. Once we hammer out the details, we can divvy up the implementation. All I ask is that we stick to the code standards I have in place.

Thanks for the love! I look forward to the collaboration and checking out Assemble 1.0!

sounds good, thanks!

btw, we won't be using the janky register stuff anymore

@jonschlinkert Do you have an alternate pattern that I should support?

@shannonmoeller perhaps just exporting an object of helpers as done in the 0.6 version of handlebars-helpers? e.g.

assemble.helpers(require(handlebars-layouts));

this seems to be what @doowb recommends here. this way people can register the helpers provided by your lib as desired. already there has been confusion about how to use your lib with 0.6.x Assemble:

regardless, thanks for the handy helpers.

Opened issue #15 for Assemble 0.6.0 support.