index.js
function renderAll(files, data, outputDir) {

  for (var i = 0; i < files.length; i++) {
    render(files[i], data, outputDir)
  }

}
function renderAll(files, data, outputDir) {

  for (var i = 0; i < files.length; i++) {
    render(files[i], data, outputDir)
  }

}
function renderAll ( files , data , outputDir ) { for ( var i = 0 ; i < files . length ; i ++ ) { render ( files [ i ] , data , outputDir ) } }
Render multiple files
Render multiple files