shannonmoeller / gulp-hb

A sane Gulp plugin to compile Handlebars templates. Useful as a static site generator.

Home Page:http://npm.im/gulp-hb

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Input .json sources to .hbs template to output .html

hirejohnsalcedo opened this issue · comments

commented

I forked this repository to display an example on what I need to do. Basically, I need to plug .json files to an .hbs template to produce .html files.

Sorry if I do not have enough technical know-how to discover how to do it myself.

If the example makes sense, let me know if I can send a pull request to have it merged.

Thank you for your interest in submitting a pull request. The pattern for rendering multiple data sources with the same template or templates is addressed in the README. (Also see #46, #39, and #27 for similar patterns.)

@jpls93 Were you able to get this working?

commented

@shannonmoeller Hi Shannon, thanks for the follow-up. I've been reading articles about through2, Node.js streams and other relevant articles. I'll be working on this for the next few hours.

commented

@shannonmoeller I found your code which satisfies my requirements.