Allow users to specify options for Sass.
This commit is contained in:
parent
4da7223831
commit
daa0b76484
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue