title: Jade partial inheritance block/extend implementation
body: <p>I have been in the practice of using partials across my applications for some time now across a number of different frameworks; I am baffled by Jade's implementation, or my incorrect usage, and would like to get other exploiter's experiences and any corrections to my understanding.</p>
  
  <p>Folder structure:</p>
  
  <pre><code>$ cd &lt;app_root&gt;/views
  $ ls
    myHoverToolTip.jade
    layout.jade
  </code></pre>
  
  <p>Caller:</p>
  
  <pre><code>httpJadeViewerRsp = (req, res) -&gt; res.render('myHoverToolTip.jade', { variable: 'here' })
  </code></pre>
  
  <p>myHoverToolTip.jade</p>
  
  <pre><code>extends layout
  
  block myHoverToolTip
    .some-div
      h1 Awesome-O Rocks
  </code></pre>
  
  <p>layout.jade</p>
  
  <pre><code>&lt;...bunch of jade markup...&gt;
  .div
    block myHoverToolTip
      h5 Content to remove
  </code></pre>
  
  <p>This works in a small number of use-cases where you are just providing a page and are looking for a standard way to provide a layout. However deviating from this and using partials in a more module fashion to DRY things up and you find this implementation of extends/block leaves me scratching my head. I want to break my tool-tip into a partial to be reused across a data grid (of course passing a number of variables to the partial, so forget about includes), this implementation forbids me from having this ability. Can anyone provide me further insight, correct my usage, or direct me to a better NodeJs-ready templating library that will work with Express 3</p>