GitHub 页面图像在添加到新页面时未加载

GitHub Pages Images not loading when added to new page

好的,所以我目前正在更新我的 github 页面站点以包含多个页面,而不是我的所有信息都在主页上。我创建了新的 .md 文件并使用 yaml front matter 设置新页面的标题、布局和永久链接。然后,我将我的降价“代码”从我的 index.md 文件复制到我的新 .md 文件,不做任何更改。有问题的降价包括一些 html 行来插入图像。

出于某种原因,图像在连接到 index.md 的页面上正确加载,但在我的任何新 .md 页面上都没有。我知道这不是 case-sensitivity 问题,我的新 .md 文件与 index.md 位于同一目录中,所以它不像是路径问题。

有什么想法吗?????

供您参考:

首页:http://www.catherineslaughter.space/

有问题的新页面:http://www.catherineslaughter.space/research/

回购:https://github.com/catieslaughts/catieslaughts.github.io

提前致谢!!!

由于您位于 'research' 文件夹中,因此您想要更上一层楼。尝试 ../images_pdfs/SURFfinalPoster.jpg 作为您在研究页面上 link 的任何图像的示例。

目前您的相对路径图像解析为:http://www.catherineslaughter.space/research/images_pdfs/SURFfinalPoster.jpg

而不是

http://www.catherineslaughter.space/images_pdfs/SURFfinalPoster.jpg