title: ember.js render partial on any template
body: <p>I need to pick up an ember.js project to finish a few things. Unfortunately I don't have time to learn the whole framework and features but I was wondering how I create a partial.</p>
  
  <p>I read the documentation below but don't really understand what goes where. I presume the second block of text goes in the .hbs template but where do I put the top block so that the second block can be rendered on any .hbs template?</p>
  
  <pre><code>   &lt;script type="text/x-handlebars" data-template-name='_author'&gt;
        Written by {{author.firstName}} {{author.lastName}}
      &lt;/script&gt;
  
      &lt;script type="text/x-handlebars" data-template-name='post'&gt;
        &lt;h1&gt;{{title}}&lt;/h1&gt;
        &lt;div&gt;{{body}}&lt;/div&gt;
        {{partial "author"}}
      &lt;/script&gt;
  </code></pre>