redVi / voyager

Just another jekyll theme.
MIT License
45 stars 63 forks source link

Conversion error in main.scss with jekyll-remote-theme #7

Open garymm opened 3 years ago

garymm commented 3 years ago

Thanks for the theme. It looks nice!

I'm trying to use this theme via jekyll-remote-theme.

Here's the relevant code from my _config.yaml:

remote_theme: redVi/voyager
plugins:
  - jekyll-remote-theme

Here's the error I see:

$ bundle exec jekyll serve --verbose
    Jekyll Version: 4.2.0
...
  Rendering: assets/css/main.scss
  Pre-Render Hooks: assets/css/main.scss
  Rendering Markup: assets/css/main.scss
  Conversion error: Jekyll::Converters::Scss encountered an error while converting 'assets/css/main.scss':
                    Error: File to import not found or unreadable: normalize. on line 5:1 of main.scss >> @import ^ 

Thanks for any help!

redVi commented 3 years ago

Hi, @garymm! Thank you for the report. It seems that jekyll does not react to the custom styles directory and does not see the files there. I changed the theme so that the styles work again. I recommend writing the following in _config.yml:

remote_theme: redVi/voyager
plugins:
  - jekyll-remote-theme
images: '/assets/images'

Some templates (such as archive.md or about.md) will have to be copied from the theme to the root of your project manually.