Open AgentMero opened 2 years ago
@c2h5oc2h5 非常感谢您的回答。我重新尝试后(https://github.com/AgentMero/blog-hugo.github.io),也去看了您的博客github地址,我们生成的静态网站,这些图片文件最终都在根目录下,但是我这边的还是没有能正确显示。
I found Solution
https://stackoverflow.com/questions/16375592/favicon-not-showing-up-in-google-chrome
Clear your cache. http://support.google.com/chrome/bin/answer.py?hl=en&answer=95582 And test another browser.
Some where able to get an updated favicon by adding an URL parameter: ?v=1 after the link href which changes the resource link and therefore loads the favicon without cache (thanks @Stanislav).
<link rel="icon" type="image/x-icon" href="favicon.ico?v=2" />
我刚刚也碰见了(有可能是浏览器的缓存问题,ctrl+f5强制刷新试一试😣
不能修改网站的favicon
您好,我尝试着替换网站的
favicon
. 把从realfavicongenerator
得到的多个icon相关的文件,放到了都没有成功替换,还是得到默认的icon。
我尝试着在
config.toml
中添加或者
也没有成功。
请问是哪一步操作错误呢?期待您的答复,谢谢