src/write/pages.js
function writePages(drizzleData) {
  return Promise.all(walkPages(drizzleData.pages, drizzleData)).then(
    () => drizzleData,
    error => DrizzleError.error(error, drizzleData.options.debug)
  );
}
function writePages(drizzleData) {
  return Promise.all(walkPages(drizzleData.pages, drizzleData)).then(
    () => drizzleData,
    error => DrizzleError.error(error, drizzleData.options.debug)
  );
}
function writePages ( drizzleData ) { return Promise . all ( walkPages ( drizzleData . pages , drizzleData ) ) . then ( ( ) => drizzleData , error => DrizzleError . error ( error , drizzleData . options . debug ) ) ; }
Write out HTML pages for pages data.

@param {Object} drizzleData
@return {Promise} resolving to drizzleData
Write out HTML pages for pages data .