Very cool use of compass. Have you seen Jekyll Asset Pipeline? It has a similar workflow and supports both CSS and JS conversion.
how do you get this to compile into the _site folder? What are your config.rb compass settings?
@jwebcat here's an example config.rb that seems to be working for me:
http_path = "/"
sass_dir = "./"
css_dir = "../css"
images_dir = "../img"
relative_assets = true
I noticed the following problem with this plugin:
Jekyll calls the generators after it assembled a list of all the files that need to be copied to _site/. This means that the generated CSS files are not picked up in the first run. Only if you run jekyll build a second time the CSS files will be copied. Simply run rm -rf css/ _site/ && jekyll build and verfiy that there is no _site/css/ directory.
rm -rf css/ _site/ && jekyll build
I updated this plugin to notify Jekyll about the generated files: https://gist.github.com/Grandrath/8282339
Hi, I use this plug-in and use a 3rd mixin for css sprits, but I always got error $map value, error like this: 'No such file or directory - /Users/jim/Sites/proj_name/_sass/../img/generated//Users/jim/Sites/proj_name/_sass/../img/light-s2cd528e0fe.png', I don't know whether this plugin changed the path, thx!