Help
cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Copilot Lvl 2
Message 1 of 2

My page shows fine locally but on github the theme is gone and the links are broken

Solved! Go to Solution.

hi, its the first time Im doing this and I followed this guide using jekyll: 

https://medium.com/20percentwork/creating-your-blog-for-free-using-jekyll-github-pages-dba37272730a

 

The website works fine hosted on my localhost but look how broken its on github:
https://rastiazul.github.io/merino/

 

I bet this must be a common noob error but I couldnt find a solution searching the forum.

 

Thank you 

1 Reply
Solution
Commander Lvl 2
Message 2 of 2

Re: My page shows fine locally but on github the theme is gone and the links are broken

If you look at the page source, the style sheet links to 

href="/assets/main.css"

but that file doesn't exist, so that is not the location in the github repository.

 

Either you need a folder named "assets" in the github repository, and main.css in that folder, or you need to fix the web files to point to where the main.css file actually is.

 

Please follow-up to let us know how you made out. For good karma, mark a reply as the answer if it helped!