grunt-compile-handlebars
grunt-compile-handlebars copied to clipboard
grunt plugin to compile static html from a handlebars plugin
#60 Fixed this issue regarding the templateData path, now does an iteration over all the globbed files and matches the right json to the right hbs and returns the result....
This is useful if you want to use something dynamically generated during the build process and want to somehow do something with that. Here's an example: ``` templateData: function ()...
Background on what I'm working on: I'm trying to use G-C-H to help me theme a ZenDesk Help Center. To do so, I need to stub out some of their...
Gruntfile.js: ``` front: { files: [{ src: 'src/main/templates/front/index.hbs', dest: 'src/main/webapp/index.html' }], templateData: {}, partials: 'target/main/templates/front/*.hbs' }, blog: { files: [{ src: 'src/main/templates/blog/index.hbs', dest: 'src/main/webapp/blog/index.html' }], templateData: {}, partials: 'target/main/templates/blog/*.hbs' },...
Hello, im generating my html, but my utilities data.json are not getting passed. I have installed the latest version, gch, but even so, if i have more than one data.json,...
From what i've found setting the path in `templateData` when using the `globalJsonGlobbedTemplate` technique doesn't actually change anything, it looks in the same place you've set it to find the...
I'm looking for a way to have one of each type of content in my /src/ folder, but perhaps multiple versions in the /dist/ folder. Types could be 'events', 'blog...