patrickkettner / grunt-compile-handlebars

grunt plugin to compile static html from a handlebars plugin
MIT License
115 stars 29 forks source link

Same template different data #20

Closed adamsilver closed 10 years ago

adamsilver commented 10 years ago

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

patrickkettner commented 10 years ago

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/patrickkettner/grunt-compile-handlebars/issues/20 .

patrick

adamsilver commented 10 years ago

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/patrickkettner/grunt-compile-handlebars/issues/20#issuecomment-42676755 .

Regards Adam Silver

patrickkettner commented 10 years ago

cheers!