title: Nested layout variables
body: <p>Is there a way to access YFM properties defined in a child layout in its parent layout?</p>
  
  <p>For example, given a child layout page.hbs:</p>
  
  <pre><code>---
  layout: wrapper.hbs
  no_header: true
  ----
  &lt;div class="wrapper"&gt;{{&gt; body }}&lt;/div&gt;
  </code></pre>
  
  <p>I'd like to access the <code>no_header</code> YFM property defined in page.hbs in the parent layout wrapper.hbs:</p>
  
  <pre><code>&lt;html&gt;
      &lt;body&gt;
          {{#unless layout.no_header}}&lt;header&gt;&lt;/header&gt;{{/if}}
          {{&gt; body }}
      &lt;/body&gt;
  &lt;/html&gt;
  </code></pre>