fix compass paths

This commit is contained in:
Thomas Reynolds 2011-07-13 11:41:59 -07:00
parent 17be87bafd
commit 199db07dc1
2 changed files with 12 additions and 12 deletions

View file

@ -1,9 +1,8 @@
2.0.0 2.0.0
===== =====
- Use sinatra before/after hooks for Blog and FrontMatter - Sprockets JS
- Converted a lot of Middleman::Server in CoreExtensions - Refactored Dynamically Reloadable Core
- Combine views/ and public/ into a single source/ folder. - Combine views/ and public/ into a single source/ folder.
- Support YAML front-matter - Support YAML front-matter
- Blog-aware - Blog-aware Feature
- Replaced Blueprint CSS templates with Susy

View file

@ -28,14 +28,15 @@ module Middleman::CoreExtensions::Compass
config.add_import_path(config.sass_dir) config.add_import_path(config.sass_dir)
end end
# configure :build do # Required for relative paths
# build_root = File.basename(self.build_dir) configure :build do
# ::Compass.configuration do |config| build_root = File.basename(self.build_dir)
# config.css_dir = File.join(build_root, self.css_dir) ::Compass.configuration do |config|
# config.images_dir = File.join(build_root, self.images_dir) config.css_dir = File.join(build_root, self.css_dir)
# end config.images_dir = File.join(build_root, self.images_dir)
# end end
end
app.execute_after_compass_init! app.execute_after_compass_init!