Skip to content

Instantly share code, notes, and snippets.

@wayneeseguin
Created October 21, 2009 15:11
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save wayneeseguin/215174 to your computer and use it in GitHub Desktop.
Save wayneeseguin/215174 to your computer and use it in GitHub Desktop.
#!/usr/bin/env ruby
compile '*' do
filter :erb
layout "default"
end
compile "/assets/stylesheets/*/" do
filter :sass
end
route "/assets/stylesheets/*/" do
item.identifier.chop + ".css"
filter :sass
end
route '*' do
item.identifier + "index.html"
end
layout '*', :erb
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment