title: How to set handlebars layout directory?
body: <p>This is my <code>nodejs express</code> setup for view and directories using handlebars:</p>
  
  <pre><code>- server.js
  - routes
      |-- index.js
  -config
      |-- config.js
  - client
      |-- public
      |     | -- js
      |     | -- css
      |     | -- font
      |-- views
           |-- index.html
           |-- layout
                |-- layout.handlebars
      | ... other directories
  </code></pre>
  
  <p>And here is my node.js code:</p>
  
  <pre><code>// Set static folder
  app.use(express.static(path.join(__dirname, '/client/public')));
  // Views and view engine
  app.set('views', path.join(__dirname, '/client/views'));
  app.set('view engine', 'ejs');
  app.engine('html', handlebars({ defaultLayout: 'layout' }));
  </code></pre>
  
  <p>Handlebars is not being able to find my layout. Its looking at the <code>app/views/layouts/layout.handlebars</code>, but it should be looking at <code>app/client/views/layouts/layout.handlebars</code></p>
  
  <p>What am I missing here ?</p>