title: express-ejs-layout using different layout
body: <p>Im using <strong>express-ejs-layout</strong> for my project. my project has routing. I want use different layout for different res queries. for example if query is: www.xxx.com/a, use LayoutA.ejs, if query is: www.xxx.com/b, use LayoutB.ejs. My index.js part code is: </p>
  
  <pre><code>...
  app.set('view engine', 'ejs');
  app.set('views', path.join(__dirname, '/app_server/views'));
  app.use(bodyParser.urlencoded({ extended: false }));
  
  app.use(bodyParser.json());
  
  
  app.use(ejsLayout);
  
  app.use('/public', express.static(path.join(__dirname, 'public')));
  require('./app_server/routes/routeManager')(app);
  ...
  </code></pre>
  
  <p>how can I?</p>