Allow users to specify options for Sass.

This commit is contained in:
Parker Moore 2014-01-12 14:44:00 -08:00
parent 4da7223831
commit daa0b76484
1 changed files with 5 additions and 1 deletions

View File

@ -11,8 +11,12 @@ module Jekyll
".css" ".css"
end end
def sass_build_configuration_options(overrides)
(@config["sass"] || {}).deep_merge(overrides)
end
def convert(content) def convert(content)
Object::Sass.compile(content, :syntax => :sass) ::Sass.compile(content, sass_build_configuration_options({"syntax" => :sass}))
end end
end end
end end