Skip to content

Instantly share code, notes, and snippets.

@krainboltgreene
Created June 7, 2011 02:40
Show Gist options
  • Save krainboltgreene/1011590 to your computer and use it in GitHub Desktop.
Save krainboltgreene/1011590 to your computer and use it in GitHub Desktop.
#!/usr/bin/env ruby
compile '/style/extra/*' do
# Nothing
end
compile '/style/*' do
filter :sass, { :style => :compressed }
end
compile '*' do
filter :redcarpet
filter :colorize_syntax, :coderay => { :line_numbers => :inline }
layout 'default'
end
route '/style/extra/*' do
# Nothing
end
route '/style/main' do
'/style.css'
end
route '*' do
item.identifier + 'index.html'
end
layout '*', :haml, {:ugly => true}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment