lib/components/render_page.js
function render(file, layout, context, partials, callback) {
  try {
    const data = mustache.render(layout, context, partials);
    async.nextTick(callback, null, data);
  } catch (error) {
    console.error(`${file.path}: Could not render the layout`);
    async.nextTick(callback, error);
  }
}
function render(file, layout, context, partials, callback) {
  try {
    const data = mustache.render(layout, context, partials);
    async.nextTick(callback, null, data);
  } catch (error) {
    console.error(`${file.path}: Could not render the layout`);
    async.nextTick(callback, error);
  }
}
function render ( file , layout , context , partials , callback ) { try { const data = mustache . render ( layout , context , partials ) ; async . nextTick ( callback , null , data ) ; } catch ( error ) { console . error ( ` ${ file . path } ` ) ; async . nextTick ( callback , error ) ; } }
Render the page.
Render the page .