mirror of
https://github.com/jekyll/jekyll.git
synced 2026-02-07 05:05:10 -05:00
Allow users to specify options for Sass.
This commit is contained in:
@@ -11,8 +11,12 @@ module Jekyll
|
||||
".css"
|
||||
end
|
||||
|
||||
def sass_build_configuration_options(overrides)
|
||||
(@config["sass"] || {}).deep_merge(overrides)
|
||||
end
|
||||
|
||||
def convert(content)
|
||||
Object::Sass.compile(content, :syntax => :sass)
|
||||
::Sass.compile(content, sass_build_configuration_options({"syntax" => :sass}))
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user