taniarascia / startjekyll

An example and guide to getting started with Jekyll and static site generators.
http://taniarascia.github.io/startjekyll
MIT License
116 stars 117 forks source link

ERROR `/css/main.css' not found. #4

Closed rchatham closed 4 years ago

rchatham commented 5 years ago

Awesome tutorial! Definitely a huge help in building sites in jeykll.

I have been getting the following error running this with the latest version of jekyll:

ERROR `/css/main.css' not found.

Any help would be appreciated.

jvkrakowski commented 4 years ago

If this is where you're importing your sass, then you need to go to your _sass folder and make sure the names of your files have an underscore underneath. Also, make sure you're calling the main.css correctly:

<link rel="stylesheet" href={{ "/css/style.css" | prepend: site.url }}>