pages-themes / hacker

Hacker is a Jekyll theme for GitHub Pages

Home Page:https://pages-themes.github.io/hacker/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

GitHub Pages fails building this theme since a few days ago

cipy opened this issue · comments

theme: jekyll-theme-hacker

@import "{{ site.theme }}";

it worked like charm last week

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

Got the same issue, contacted Github support and waiting for an answer

commented

+1: no changes were made to the styles on my repo, yet recent builds started failing - builds for commits that only made markdown changes.

For those still having the issue when building locally with bundle please see pages-themes/cayman#130 (comment) which I wrote and solved my issues for the hacker theme.

So changing
@import "{{ site.theme }}";
To:
@import 'jekyll-theme-hacker';

But is this the official way now or its a tmp workaround? The docs still says to use @import "{{ site.theme }}";

It's the solution/workaround I found :) But this alone wasn't sufficient ... I also had to add the gemspec and install the theme gem.

Thanks, it works for me. For online github page build only changing @import "{{ site.theme }}"; is needed in my case

commented

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.