Skip to content
leeand00 edited this page Sep 13, 2010 · 8 revisions

To load compass into your Webby project, set up your Sitefile with the following options:

require 'compass'

Compass.configuration do |config|
config.project_path = File.dirname(FILE)
config.sass_dir = File.join(‘src’, ‘stylesheets’ )
end

Webby.site.sass_options.update(Compass.sass_engine_options)

If you haven’t already done so, install the gem:

gem sources --add http://gems.github.com
sudo gem install chriseppstein-compass

Create your *.sass files in the ./content/stylesheets directory of your webby project.

At the very top of your *.sass file(s) be sure to include the following webby meta data:


--- filter: sass extension: css layout: nil ---
Clone this wiki locally