title: Template not rendering with Iron: Router
body: <p>I'm trying to setup a layoutTemplate in Iron: Router. I've read the documentation i've implemented it in my own project (as to reduce repeating code). Something is wrong though. The inner template is rendering but not the layout.</p>
  
  <p>Layout File located at 'client/templates/defaultlayout.html'</p>
  
  <pre><code>&lt;template name="defaultlayout"&gt;
    &lt;head&gt;
      &lt;title&gt;Grocery Getter&lt;/title&gt;
    &lt;/head&gt;
    &lt;div class="container"&gt;
      &lt;header&gt;
        {{&gt; yield "headerButtons"}}
        &lt;h1&gt;{{title}}&lt;/h1&gt;
        {{&gt; loginButtons}}
        {{&gt; yield "headertextinput"}}
      &lt;/header&gt;
      &lt;body&gt;
        {{&gt; yield}}
      &lt;/body&gt;
    &lt;/div&gt;
  &lt;/template&gt;
  </code></pre>
  
  <p>Here is the template that I want to populate the '{{> yield}}' section located at 'client/templates/login.html':</p>
  
  <pre><code>&lt;template name="login"&gt;
    &lt;h4&gt;Please login or create an account.&lt;/h4&gt;
  &lt;/template&gt;
  </code></pre>
  
  <p>And here is my Iron: Router stuff located at 'client/routes.js':</p>
  
  <pre class="lang-js prettyprint-override"><code>Router.configure({
    layoutTemplate: 'defaultlayout'
  });
  Router.route('/',function()
  {
    if(!Meteor.user())
      {
        this.redirect('/login');
      }
    else
      {
        this.redirect('/householdsignup');
      }
  });
  
  Router.route('/login',function()
  {
    if(!Meteor.user())
      {
        this.render('login', function(){
          data: 'Grocery Getter'
        });
      }
      else
      {
        this.redirect('/householdsignup');
      }
  });
  </code></pre>
  
  <p>I'm not sure what i'm doing wrong here.</p>
  
  <p>Thanks in advance for the help!!!</p>