title: Node.js + Express + Handlebars.js + partial views
body: <p>I am trying to make a simple HelloWorld project with Node.js|Express using Handlebars.js as a server template engine.</p>
  
  <p>The problem is that I couldn't find any examples of using such chain, especially with multiple view.</p>
  
  <p>For example I would like to define header view:</p>
  
  <pre><code>&lt;header&gt;
    &lt;span&gt;Hello: {{username}}&lt;/span&gt;
  &lt;/header&gt;
  </code></pre>
  
  <p>And use it in every page with other views. </p>
  
  <p>Maybe I am thinking about this views in a wrong way, I thought that view is kind of control that I can reuse on any page inside any other view.</p>
  
  <p>I appreciate any link to the tutorial or (much better) open source project that I can lear from.</p>