Skip to content

Instantly share code, notes, and snippets.

@wayneeseguin
Created October 21, 2009 18:37
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/215330 to your computer and use it in GitHub Desktop.
Save wayneeseguin/215330 to your computer and use it in GitHub Desktop.
#!/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