Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Jekyll theme jekyll-theme-clean-blog wont build on github pages

I downloaded the jekyll-theme-clean-blog theme and successfully built it locally.

Once I move it to github pages, I get the following build error:

Your SCSS file assets/main.scss has an error on line 2: File to import not found or unreadable: ../assets/vendor/startbootstrap-clean-blog/scss/clean-blog.scss. Load paths: _sass /hoosegow/.bundle/ruby/2.7.0/gems/jekyll-theme-primer-0.5.4/_sass /hoosegow/.bundle/ruby/2.7.0/gems/jekyll-theme-primer-0.5.4/_sass.

I added

sass: sass_dir: _sass style: :compressed

to config file, still wont build on github pages.

Any help would be much appreciated.

like image 712
Izz Avatar asked Dec 15 '25 04:12

Izz


1 Answers

GitHub Pages only supports a select number of themes (https://pages.github.com/themes/) listed below:

  • Architect
  • Cayman
  • Dinky
  • Hacker
  • Leap day
  • Merlot
  • Midnight
  • Minima
  • Minimal
  • Modernist
  • Slate
  • Tactile
  • Time machine

The one you've named isn't in that list. Basically this is the same issue as not being able to use Jekyll plugins. The solutions there are to use a different hosting solution, or commit the built output of your site to a repo.

like image 152
Ross Avatar answered Dec 16 '25 22:12

Ross



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!