title: how to get handlebar-layouts working in node/hapi.js
body: <p>I'm having trouble getting handlebars-layouts to render in a hapi.js app.  The layout renders fine but the partial doesn't render at all and just has a blank.</p>
  
  <p>I'm declaring it like this:</p>
  
  <pre><code>var handlebars = require('handlebars'),
    layouts = require('handlebars-layouts');
  layouts(handlebars);
  
  server.views({
    engines: {
      html: handlebars
    },
    basePath: __dirname,
    path: './views',
    layoutPath: './views/layout',
    partialsPath: './views/partials',
    layout: true,
    helpersPath: './views/helpers'
  });
  </code></pre>
  
  <p>and the boiler plate layout</p>
  
  <pre><code>&lt;html&gt;
    &lt;body&gt;
      {{#content "body"}}
          &lt;h2&gt;Welcome Home&lt;/h2&gt;
      {{/content}}
  
      {{#content "foot"}}
  
      {{/content}}
   &lt;/body&gt;
  &lt;/html&gt;
  </code></pre>
  
  <p>and html partial</p>
  
  <pre><code>{{#extend "layout"}}
  
      {{#content "body"}}
          &lt;h2&gt;Sub page content&lt;/h2&gt;
      {{/content}}
  
      {{#content "foot" mode="prepend"}}
          &lt;script src="assets/js/analytics.js"&gt;&lt;/script&gt;
      {{/content}}
  {{/extend}}
  </code></pre>