lib/application.js
function dispatch(req, done) {
      var site = req.site
        , path = upath.join(site.path || '', req.path)
        , parent = site.parent;
      while (parent) {
        path = upath.join(parent.path || '', path);
        parent = parent.parent;
      }
      
      console.log('# ' + path);
      
      var page = new Page(path, req.context);
      pages.push(page);
      
      page.once('close', done);
      //page.site = self;
      //page.pages = pages;
      self.handle(page);
    }
function dispatch(req, done) {
      var site = req.site
        , path = upath.join(site.path || '', req.path)
        , parent = site.parent;
      while (parent) {
        path = upath.join(parent.path || '', path);
        parent = parent.parent;
      }
      
      console.log('# ' + path);
      
      var page = new Page(path, req.context);
      pages.push(page);
      
      page.once('close', done);
      //page.site = self;
      //page.pages = pages;
      self.handle(page);
    }
function dispatch ( req , done ) { var site = req . site , path = upath . join ( site . path || '' , req . path ) , parent = site . parent ; while ( parent ) { path = upath . join ( parent . path || '' , path ) ; parent = parent . parent ; } console . log ( '# ' + path ) ; var page = new Page ( path , req . context ) ; pages . push ( page ) ; page . once ( 'close' , done ) ; //page.site = self; //page.pages = pages; self . handle ( page ) ; }
Binding is complete, producing a complete list of all pages that need to be generated.  Dispatch those pages into the application, so that the content can be written to files which constitute the static site.
Binding is complete producing a complete list of all pages that need to be generated . Dispatch those pages into the application so that the content can be written to files which constitute the static site .