title: handlebars partial inside of a partial
body: <p>I'm building out a site where I want to have a layout wrapper for most pages (but not all). What I'm trying to do is use a partial for the layout wrapper and then pass other content partials into this master layout.</p>
  
  <p>Contents of <code>layout.hbs</code></p>
  
  <pre><code>&lt;!DOCTYPE html&gt;
  &lt;html&gt;
      {{&gt; head }}
      &lt;body&gt;
          {{&gt; nav}}
          {{ content }}
      &lt;/body&gt;
  &lt;/html&gt;
  </code></pre>
  
  <p>Then in <code>somefile.hbs</code></p>
  
  <pre><code>{{&gt; layout myPartial.hbs}}
  </code></pre>
  
  <p>I'm rending my handlebars templates with gulp.</p>
  
  <p>I can get this working if I pass markup directly into <code>layout.hbs</code> but what I'd like to do is pass the contents of another partial file into the layout wrapper.</p>
  
  <pre><code>{{&gt; layout content="&lt;div&gt;foo&lt;/div&gt;"}} // Renders ok
  </code></pre>
  
  <p>Is there another way I should be approaching a global layout wrapper?</p>