title: How to change default layout in express using handlebars?
body: <p>I am using Express 4.9.0 and express-generator.</p>
  
  <p>Created boilerplate with a following command:</p>
  
  <pre><code>express --hbs projectname
  </code></pre>
  
  <p>Builtin handlebars is using <code>views/layout.hbs</code> by default as a master page. But i cannot see any settings in my app.js to change that behaviour.</p>
  
  <p>piece of code from my app.js:</p>
  
  <p><code>// view engine setup
  app.set('views', path.join(__dirname, 'views'));
  app.set('view engine', 'hbs');</code></p>
  
  <ol>
  <li>How can i change my default layout globally?</li>
  <li>What if i want to have 2 or 3 different global layouts?</li>
  </ol>