-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
rename each helper #2
Comments
Yeah, I think you read that line a little too fast :) Handlebars.registerHelper('each' + capitalize(type), function(options) { }) It creates a helper per post-type. I actually opened this issue with Handlebars in hopes that I could use a "method missing" strategy to create these lazily instead of upfront. BTW, it looks like I'm working on a similar thing to assemble. I hadn't heard of it until now, but I'll make sure to check it out. |
Bah! indeed I did. sorry about that, I was trying to help.
very cool, we're having a lot of fun with it. and like I mentioned we're about to refactor, so if you decide you want to come over and help out and add some of these great ideas to assemble, that would be awesome. if not, no worries and best of luck! |
Sounds good. I'm mainly doing this for fun and because the features I want for my personal blog have outgrown Jekyll. But once I finish I'll see if it makes sense to merge it into assemble. After all, assemble is a much better name :) |
ha! thanks for the compliment. yeah, a friend (@doowb) and I created assemble for similar reasons and it's continued from there. now that you mention your motivations I'm especially interested in hearing your feedback at some point. e.g. what are the features you think are super important to have... anyway, I'll let you get back to work on this! |
You might consider renaming the
{{each}}
helper to something like{{eachPosts}}
or whatever, since this will override the default each helper included with handlebars, which users may want to use along with this one.The text was updated successfully, but these errors were encountered: