pages-themes / primer

Primer is a Jekyll theme for GitHub Pages
https://pages-themes.github.io/primer/
MIT License
278 stars 261 forks source link

The primer theme is not currently supported on GitHub Pages. #59

Closed wanghenshui closed 3 years ago

wanghenshui commented 3 years ago

https://github.com/wanghenshui/cppweeklynews/runs/3143851548

any one seen this? im confused

riccardoferretti commented 3 years ago

I have come across a similar error. I am getting an email when pushing on master because of a page build failure.

Your SCSS file assets/css/style.scss has an error on line 1: File to import not found or unreadable: primer. Load path: /tmp/jekyll-remote-theme-20210724-6-quaj2v/_sass.

wanghenshui commented 3 years ago

I have come across a similar error. I am getting an email when pushing on master because of a page build failure.

Your SCSS file assets/css/style.scss has an error on line 1: File to import not found or unreadable: primer. Load path: /tmp/jekyll-remote-theme-20210724-6-quaj2v/_sass.

i re-run and it builds success, maybe a github pages' bug

tfidfwastaken commented 3 years ago

The workaround suggested for https://github.com/pages-themes/cayman/issues/130 seems to have worked with this theme as well.

tldr, in your scss file change import "{{ site.theme }}" to import "jekyll-theme-primer"