Closed Zheng-Suijian closed 2 years ago
您可以尝试添加 root
参数为您的 project 名(如 /Javelin.github.io/
)。
详情可以参见 Hexo 文档 - 网址
您好, 我按您的提示添加了root行,可是还是无法正常加载,请问还有可能是什么原因吗
------------------ 原始邮件 ------------------ 发件人: "Candinya/Kratos-Rebirth" @.>; 发送时间: 2021年10月27日(星期三) 凌晨0:34 @.>; @.**@.>; 主题: Re: [Candinya/Kratos-Rebirth] Bug 回报:添加github page链接后,部署后无法加载背景图片 (Issue #91)
您可以尝试添加 root 参数为您的 project 名(如 /Javelin.github.io/ )。 详情可以参见 Hexo 文档 - 网址
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or unsubscribe. Triage notifications on the go with GitHub Mobile for iOS or Android.
我知道了,主题设置的图片这里也需要调整,可以调整为 /Javelin.github.io/images/banner.webp
和 /Javelin.github.io/images/bg.webp
试一试
我知道了,主题设置的图片这里也需要调整,可以调整为
/Javelin.github.io/images/banner.webp
和/Javelin.github.io/images/bg.webp
试一试
非常感谢
对Bug的描述: 添加github page链接后,部署后无法加载背景图片,不添加链接又加载不了js和css 添加链接前,本地可以正常加载,但是部署到github上加载不了js和css
复现Bug的方法:
可以使用如下的方案进行复现:
前往 ' 添加链接后就不行了'
点击 '....'
滚动到 '....'
看,出错了吧!
期望的行为:
相关的截图:
添加前 这个是添加链接前部署到github
运行环境(如果该Bug的产生和环境有关,例如浏览器不兼容导致):
补充内容: