node.js - 在使用github pages和hexo搭建网站时,为什么会出现图片资源加载失败?
PHP中文网
PHP中文网 2017-04-17 16:02:43
0
3
610
PHP中文网
PHP中文网

认证0级讲师

reply all(3)
PHPzhong

If there is no problem with the address and root, please clear the cache and try again. Mine is, after forced refresh, the style will appear

迷茫

Are relative paths or absolute paths used? When I made it, relative paths worked locally but not when pushed. Only absolute paths worked locally and remotely.

左手右手慢动作

You can consider 2l’s suggestion. My pictures and all referenced resources use absolute paths. For detailed files, please see my git repository: https://github.com/barefootCh.... I also have questions about how to combine github and hexo. There is a blog, you can refer to it if you are interested: https://barefootchild.github....

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template