fix compass paths
This commit is contained in:
parent
17be87bafd
commit
199db07dc1
|
@ -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
|
|
|
@ -29,13 +29,14 @@ 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!
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue