Skip to content

Instantly share code, notes, and snippets.

@wayneeseguin
Created Oct 21, 2009
Embed
What would you like to do?
#!/usr/bin/env ruby
compile "/assets/css/*" do
filter :sass
end
route "/assets/css/*" do
item.identifier.sub(%r{/assets}, '').chop + '.css'
end
compile "*" do
filter :haml
layout "default"
end
route "*" do
item.identifier + "index.html"
end
layout '*', :haml
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment