title: Nanoc - Problems with deployment to github pages for css file
body: <p>So, trying out nanoc. </p>
  
  <p>Have uploaded the output folder to gh-pages on github.</p>
  
  <p>Having trouble with css to display its styles. </p>
  
  <p>Tried adding <code>filter :relativize_paths, :type =&gt; :css</code> in Rules. </p>
  
  <p>Compiled it again. </p>
  
  <p>It's still not displaying properly. </p>
  
  <p>What am I doing wrong? </p>
  
  <p>You can see that the page doesn't display properly: <a href="http://arubyist.github.io/nanoc/" rel="nofollow">http://arubyist.github.io/nanoc/</a></p>
  
  <p>This is the Rules page:</p>
  
  <pre><code>compile '*' do
     if item[:extension] == 'css'
     # don’t filter stylesheets
   elsif item.binary?
   # don’t filter binary items
   else
     filter :erb
     layout 'default'
   end
  end
  
   route '*' do
   if item[:extension] == 'css'
   # Write item with identifier /foo/ to /foo.css
   item.identifier.chop + '.css'
   elsif item.binary?
   # Write item with identifier /foo/ to /foo.ext
   item.identifier.chop + '.' + item[:extension]
  else
  # Write item with identifier /foo/ to /foo/index.html
  item.identifier + 'index.html'
   end
   end
  
   layout '*', :erb
  
   compile '/html' do 
     filter :relativize_paths, :type =&gt; :html
    end 
  
   compile '/css' do
     filter :relativize_paths, :type =&gt; :css 
    end 
  </code></pre>