title: conditional haml - if else nesting
body: <p>What I want is both whats in "if" and whats in "else" to include #main-block.</p>
  
  <pre><code>- if @transparency
    #content-inner{:style =&gt; "background: url(../../../images/illustrations/" + @transparency + ") no-repeat 88% 50%"}
  - else 
    #content-inner
       #main-block
  </code></pre>
  
  <p>What happens currently is, if <code>@transparency</code> is defined, <code>#main-block</code> is not nested inside <code>#content-inner</code>.</p>