title: Equivalent of "jade blocks" in handlebars
body: <p>Does handlebars have equivalent functionality to <a href="http://www.devthought.com/code/use-jade-blocks-not-layouts/" rel="noreferrer">jade blocks</a>?
  I understand that it has <em>partials</em> but I don't see how I can imitate jade's block functionality with just partials.</p>
  
  <p>Here's an example of what I'm trying to accomplish with jade:<br>
  <strong>Master template:</strong></p>
  
  <pre><code>// layout.jade
  doctype 5
  html
  head
    title= title
    link(rel='stylesheet', href='/stylesheets/style.css')
    block head
  
  body
    header
      block header
  
    block content
  
    footer
      block footer
  
    block scripts
  </code></pre>
  
  <p><strong>Other template:</strong></p>
  
  <pre><code>// camera.jade
  extends layout
  
  block head
    link(rel='stylesheet', href='/stylesheets/camera.css')
  
  block header
    h1 Camera
  
  block content
    section#secScreen
      video#vdoScreen
      aside#asdControls
        nav
          a(href='/') Back
          a(href='') Refresh
          a(href='/gallery') Gallery
  
  block scripts
    script(src='/javascripts/camera.js')
  </code></pre>
  
  <p>I found this module called <a href="https://github.com/shannonmoeller/handlebars-layouts" rel="noreferrer">handlebars-layouts</a> by <a href="https://github.com/shannonmoeller" rel="noreferrer">shannonmoeller</a> that seems to add this feature, to handlebars.
  This seems like an alright module but I'd like to know if there's another way to accomplish what I'm trying to do <strong>without installing another dependency?</strong></p>