title: Using Jade, how can I declare a body class in an extended template?
body: <p>Using the Jade template engine, I want the ability to optionally declare classes to body tags, in templates that extends another.</p>
  
  <p>layout.jade</p>
  
  <pre><code>!!! 5
  html(lang='en')
  head
      block title
      meta(charset='utf-8')
      link(rel='stylesheet', href='/stylesheets/style.css')
      block addhead
  
  block body
      div#wrap
          header
              div#header_content
                  p
                      a(href='/')
                          img(src='/images/logo.png', alt='Template-e-o')
              div.hr.red
          br(style='clear:both;')
  
          div#content
              block content
              br(style='clear:both;')
  </code></pre>
  
  <p>index.jade</p>
  
  <pre><code>extends layout
  
  block title
      title bidi
  
  block body
      body.index
  
  block content
      p ’ello govna.
  </code></pre>
  
  <p>This is not working.</p>