hexo-theme-butterfly icon indicating copy to clipboard operation
hexo-theme-butterfly copied to clipboard

[Bug]: 有关于左上角图标跳转的bug的问题

Open W1ndys opened this issue 1 year ago • 3 comments

使用的 Butterfly 版本? | What version of Butterfly are you use?

4.12.0

是否修改过主题文件? || Has the theme files been modified?

不是 (No)

使用的瀏覽器? || What browse are you using?

Chrome

使用的系統? || What operating system are you using?

Windows

依賴插件 | Package dependencies Information

├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
└── [email protected]

問題描述 | Describe the bug

不知道为什么,这个bug我已经找了一个星期了,还是没找到原因在哪里,决定放弃了,来这里交个issues,别的用户没这个bug,我的有,而且更抽象的是我开了个新环境,只是安装了必备的依赖插件,就出现了这个bug。这是最抽象的 查看控制台我发现他跳转的就是index.html但是有时候会跳url/index.html,有时候会跳 域名/index.html,也就是正常 希望社区里能帮我解决这个问题

然后的话这个问题之前提到过了,可能被覆盖了 https://github.com/jerryc127/hexo-theme-butterfly/issues/1433#issuecomment-1902625826

另外刚刚看了一下官网的源代码,跳转的是/

<a href="/" title="Butterfly" data-pjax-state="modifier"><span class="site-name">Butterfly</span></a>

而出现bug的源代码跳转的是index.html

<a href="index.html" title="W1ndysの小屋" data-pjax-state=""><img class="site-icon" src="/img/about/icon.jpg"><span class="site-name">W1ndysの小屋</span></a>

我的安装方式是 npm安装

出現問題網站 | Website

https://w1ndys.top/

W1ndys avatar Jan 25 '24 11:01 W1ndys

你贴下你的 hexo 和 主题的配置文件

jerryc127 avatar Jan 25 '24 18:01 jerryc127

你贴下你的 hexo 和 主题的配置文件

仓库https://github.com/W1ndys/Hexo-butterfly-#/ 文件都在这里 这个是我测试的文件,bug还在

W1ndys avatar Jan 26 '24 01:01 W1ndys

你贴下你的 hexo 和 主题的配置文件

还有之前那个邮箱的bug https://github.com/jerryc127/hexo-theme-butterfly/issues/1444#/ 我什么配置也没改,他竟然自己正常了

W1ndys avatar Jan 26 '24 02:01 W1ndys

bug已解决 https://github.com/jerryc127/hexo-theme-butterfly/issues/1433#issuecomment-1926711912

W1ndys avatar Feb 05 '24 10:02 W1ndys