Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
602 views
in Technique[技术] by (71.8m points)

jekyll - Github page blog: html works ok but css and images are 404

I have my blog kray.me hosted on github pages for many years now. There are others questions related to 404 errors related to Jekyll on SO but are related to case sensitiveness problems which is not the case here.

The site builds correctly locally. However, on github.com, it seems that all the files located in my /public folder are not copied by Github page engine eg

https://github.com/Kraymer/kraymer.github.com/blob/master/public/img/back.jpg doesn’t result to http://kray.me/public/img/back.jpg

Any help would be greatly appreciated.


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)

OK fixed I had a public repo named "public" that interfered with the "public" dir of the blog repo


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...