nielsenramon / chalk

Chalk is a high quality, completely customizable, performant and 100% free Jekyll blog theme.
http://chalk.nielsenramon.com
MIT License
1.23k stars 442 forks source link

When deploying, CSS isn't linked correctly. #133

Closed n3a9 closed 6 years ago

n3a9 commented 6 years ago

When forking and deploying immediately, the website will look like this. (Can be found here.)

screen shot 2018-01-04 at 12 08 19 pm

This is because, in the production index.html, it links to

https://n3a9.github.io/assets/light-dd81b21ab090e25ca3de9c7f8a04c3ed3092374c826eb42b9fb7cac72c5f41e7.css,

instead of

https://n3a9.github.io/chalk/assets/light-dd81b21ab090e25ca3de9c7f8a04c3ed3092374c826eb42b9fb7cac72c5f41e7.css.

In short, it is missing the link to the repository at the end of the link.

migueldemoura commented 6 years ago

Could you post your _config.yml here? Specifically the url and baseurl keys.

n3a9 commented 6 years ago

Ah, found the issue. Was using url: instead of baseurl: inside _config.yml.

I set baseurl: /chalk and it worked. Thank you!

migueldemoura commented 6 years ago

Glad it is fixed!