Allows you to iterate through json files and apply jade templates to them. It's basically a mashup of [Gulp Jade](https://github.com/phated/gulp-jade) and [Gulp Wrap](https://github.com/adamayres/gulp-wrap).

## Usage

Compile to HTML

```javascript
var jade = require('gulp-jade-wrap');

gulp.task('jade', function() {
  return gulp.src("src/data/*.json")
    .pipe(jade({src:'src/templates/index.jade'}, {data:"src/data/index.json"}))
    .pipe(gulp.dest(outputDir));
});
```

Example JSON data

```json
{
  "template" : "index.jade",
  "title" : "Title of this Page"
}
```

## Options

This does not pass through options supported by the [Jade API](http://jade-lang.com/api/). Planning to add that later.

## LICENSE

[MIT License](http://en.wikipedia.org/wiki/MIT_License)
