patrickkettner/grunt-compile-handlebars

Same template different data

Closed this issue · 3 comments

Can I produce say 5 different versions of one template using 5 different json files?

Totally!
Just create multiple jobs that have the same file but different json. If
there is a more preferred way that you could configure this, lemme know and
we'll see if it's possible to be added to the library!

On Friday, May 9, 2014, Adam Silver notifications@github.com wrote:

Can I produce say 5 different versions of one template using 5 different
json files?


Reply to this email directly or view it on GitHubhttps://github.com//issues/20
.

patrick

Thanks will try that to start with.

On Fri, May 9, 2014 at 4:10 PM, patrick kettner notifications@github.comwrote:

Totally!
Just create multiple jobs that have the same file but different json. If
there is a more preferred way that you could configure this, lemme know
and
we'll see if it's possible to be added to the library!

On Friday, May 9, 2014, Adam Silver notifications@github.com wrote:

Can I produce say 5 different versions of one template using 5 different
json files?


Reply to this email directly or view it on GitHub<
https://github.com/patrickkettner/grunt-compile-handlebars/issues/20>
.

patrick


Reply to this email directly or view it on GitHubhttps://github.com//issues/20#issuecomment-42676755
.

Regards
Adam Silver

cheers!