I’ve seen several topics relating to this, all closed with different solutions. There must be some underlying issue connecting them. Here’s the scenario:
- Jekyll site, using Sass (scss) for styles
- Using
gem "jekyll", "~>4.3.4"
in my Gemfile - Everything works fine
- Now I want to publish with GH Pages
- Comment out
gem "jekyll", "~>4.3.4"
in my Gemfile - Use
gem "github-pages", "~>232"
in my Gemfile
Now it starts getting buggy…
- With frontmatter included in my style.scss file, the site will not start up when running
bundle exec jekyll serve -l
and I get an error: “File to import not found or unreadable: (name of my first imported Sass partial)” - When I remove the frontmatter, the site will run just fine. The “not found or unreadable” error is no longer an issue, but the the sass files do not compile, so there’s no css file output.