title: Rendering Partials with Slim
body: <p>Current Slim.html:</p>
  
  <pre><code>#fullpage
    =render partial: 'section_one'
    =render partial: 'section_two'
    =render partial: 'section_three'
    =render partial: 'section_four'
    =render partial: 'section_five'
  </code></pre>
  
  <p>The issue I'm having is that I don't want to render partial: 'section_four' is this is being viewed on mobile.</p>
  
  <p>I tried this:</p>
  
  <pre><code>#fullpage
    =render partial: 'section_one'
    =render partial: 'section_two'
    =render partial: 'section_three'
    - if $(window).width() &gt;= 700
      =render partial: 'section_four'
    =render partial: 'section_five'
  </code></pre>
  
  <p>But it doesn't work. Any ideas?</p>