Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
SCSS compiles but SASS does not (v2.0.2) #2334
In a new project, I removed main.css and replaced it with main.sass.
I included the two lines of "---" and just wrote
This was copied as main.sass in _site/css when building.
Changing this to main.scss and
It compiles to main.css in _site/css as you would expect.
Found the issue:
 pry(Jekyll)> Jekyll::Converter.subclasses => [Jekyll::Converters::Markdown, Jekyll::Converters::Textile, Jekyll::Converters::Scss, Jekyll::Converters::CoffeeScript, Jekyll::Converters::Identity]  pry(Jekyll)> Jekyll::Converters::Scss.subclasses => [Jekyll::Converters::Sass]
The Sass and SCSS converters are practically the same – only different in the input syntax and file extension. As such, we've created
This was referenced
May 9, 2014
I'm on 2.0.3 and it's still not working. According to the docs, I need to put my .sass files in the _sass directory. I've also written in my _config.yml
Just to be sure.
Above the main.sass file as required.
There is no css file created.
What confused me initially was that there were two [seemingly]
"if you have a file named /css/styles.scss in your site’s source folder,
(So I keep my .sass files in /css)
"you’ll need to ensure that your sass_dir is set to the base directory that
(I should keep my .sass files in _sass/)
For my benefit, it would be great if we could change
"If you are using Sass @import statements, you’ll need to ensure that your
"While you can keep your main .sass file in css, Jekyll will look for any
I hope this is helpful.