I'm not sure why but my Github Pages website will not read my scss file even though it's in the repo. I don't think I need to include my code here but if you take a look at my repo you can see it there within the css folder https://github.com/jamesemcc/jamesemcc.github.io and properly linked in the index.html head. Yet if you go to my site https://jamesemcc.github.io/ it's not reading anything from my styles.scss. Thanks for any help!
I think you just need to start your Sass file with two lines of triple dashes (see docs https://jekyllrb.com/docs/assets/) and link to the .css
file in your markup, not .scss
, which browsers don’t support.
<link rel="stylesheet" type="text/scss" href="css/style.css">
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With