找不到 Gh-pages 图片
Gh-pages images not found
这是我第一次这样做,但我已经查看了此处的解决方案,但它们对我不起作用。
当我启动页面 (https://xrehder.github.io/XJR-2016/) 时,我得到以下信息:
Failed to load resource: the server responded with a status of 404
(Not Found) https://xrehder.github.io/assets/img/logo-XJR.svg Failed
to load resource: the server responded with a status of 404 (Not
Found)
我检查了我的语法,所有内容都输入正确。我还计划将页面放在自定义域中。我只是想在我这样做之前让一切正常工作。
这是您要查找的 SVG 文件的 link https://raw.githubusercontent.com/xrehder/XJR-2016/master/assets/img/logo-XJR.svg
您可以通过在如下页面上单击 "Raw" 来获取这些 link:https://github.com/xrehder/XJR-2016/blob/master/assets/img/logo-XJR.svg
(我用这些来说明 /blob/
和 githubusercontent
link 之间的区别)
我想通了!! =D 基本上我使用 Jekyll 在本地服务器上构建站点,但是当我将其推送到 GitHub 时,它试图 运行 一堆它不需要的东西。我摆脱了一切,但该网站的骨架推动了它并且它起作用了! www.xrehder.com
感谢大家的帮助!
这是我第一次这样做,但我已经查看了此处的解决方案,但它们对我不起作用。 当我启动页面 (https://xrehder.github.io/XJR-2016/) 时,我得到以下信息:
Failed to load resource: the server responded with a status of 404 (Not Found) https://xrehder.github.io/assets/img/logo-XJR.svg Failed to load resource: the server responded with a status of 404 (Not Found)
我检查了我的语法,所有内容都输入正确。我还计划将页面放在自定义域中。我只是想在我这样做之前让一切正常工作。
这是您要查找的 SVG 文件的 link https://raw.githubusercontent.com/xrehder/XJR-2016/master/assets/img/logo-XJR.svg
您可以通过在如下页面上单击 "Raw" 来获取这些 link:https://github.com/xrehder/XJR-2016/blob/master/assets/img/logo-XJR.svg
(我用这些来说明 /blob/
和 githubusercontent
link 之间的区别)
我想通了!! =D 基本上我使用 Jekyll 在本地服务器上构建站点,但是当我将其推送到 GitHub 时,它试图 运行 一堆它不需要的东西。我摆脱了一切,但该网站的骨架推动了它并且它起作用了! www.xrehder.com
感谢大家的帮助!