Jekyll error for stylesheet linked to html file
I am new to using Github Pages/Jekyll and I have encountered an issue that I just cannot seem to resolve. I am trying to host my project locally for developing.
My (relevant) file structure is:
in 404.html head I have
When I run the server and navigate to the 404 page, my github codespaces terminal says
When I use the inspect console on the page, I get the error
How can I make it so that the stylesheet is applied?
Note: It does this for all html/css pairs
3 Replies
Also notable: the same happens when it is
Additionally, the HTML files have frontmatter at the top. 404.html starts like this:
Looks like this is a common issue. I am not familiar with Jekyll but maybe this can help
Did I not paste the link? 🤦🏻♀️ https://talk.jekyllrb.com/t/jekyll-website-behaves-like-there-is-no-css-file/2820
Jekyll Talk
Jekyll website behaves like there is no css file
Hello! I have problems whith my Jekyll site. When I run it locally everything is fine, but on my github page looks like this( https://gerganatsirkova.github.io/lawyer-s-website/ ), like there is no css file at all. Link to my repo https://github.com/GerganaTsirkova/lawyer-s-website Does somebody know where are my mistakes?