Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
592 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 Reply

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


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
OGeek|极客中国-欢迎来到极客的世界,一个免费开放的程序员编程交流平台!开放,进步,分享!让技术改变生活,让极客改变未来! Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...