Comments (14)
找个 32*32 的图标替换下面这个就可以了,名字必须一样。
from qiubaiying.github.io.
已经解决好了🙏
from qiubaiying.github.io.
十分感谢提出来,我会在博客中添加这一说明的。
from qiubaiying.github.io.
表示,改完后,生效了,但是iOS Safari添加书签的时候还是你的,但是添加到阅读列表的没有问题。
from qiubaiying.github.io.
@taylortaurus iOS Safar书签图标用的不是这个,你需要添加一个名为 apple-touch-icon.png
的图标,这个图标的大小需要符合苹果的标准。
from qiubaiying.github.io.
from qiubaiying.github.io.
from qiubaiying.github.io.
from qiubaiying.github.io.
是直接在img里替换favicon.ico吗?需要再更改一些code什么的吗?我尝试替换了,但在Chrome里好像并没有改变。
from qiubaiying.github.io.
同问,我这个也怎么都改不过来。谢谢!
from qiubaiying.github.io.
确实改不过来,很奇怪的就是iOS添加到主屏幕的时候是自己的图片,但是添加到个人收藏就还是您的图片...
from qiubaiying.github.io.
iOS safari的标签页左上角也是现实的您的icon
from qiubaiying.github.io.
解决办法:
网站图标就不说了,按上面大佬的方法替换favicon.ico文件即可,文件名不能变,大小48x48,这是规范。并且不是随便找个图标改后缀就行了,需要去生成ico格式的文件,直接谷歌百度“ico在线制作”即可。
关于apple:
可以grep一下整个项目目录,把所有文件名为apple-touch-icon.png的地方找出来:
cd 你的github.io目录
grep -rn "apple-touch-icon.png"
然后为了避免缓存问题,可以把这些名字都改了,比如改成web-app-icon.png。
接下来删除img目录中原有的apple-touch-icon.png,自己按照苹果的开发规范添加相应大小的web-app-icon图片文件:关于Apple设备私有的apple-touch-icon属性详解
关于PWA:
还有PWA相关的最好也改了,不然谷歌浏览器还是会弹出作者原来的图标:
可以直接替换pwa/icons目录下的图片,或者自己按照PWA的规范修改manifest.json
随便搜的一个PWA文档
测试:
用浏览器的无痕模式测试就行了,避免缓存问题。
from qiubaiying.github.io.
from qiubaiying.github.io.
Related Issues (20)
- 请问如何取消文章标题底图呢?
- 关于评论系统
- 增加sponsor部分
- 个人照片替换不成功 HOT 1
- 你好,如果想再加一栏Project怎么设置呢?
- 想增加一栏project该怎么设置?
- 如何正常渲染类似latex的公式 HOT 1
- WY这个外链链接到色情网站 HOT 2
- 不支持文章搜索 HOT 2
- 请问右上角的导航栏要修改一下或者添加一个其他的页面,怎么修改
- 成功搭建了个人博客并绑定个人域名,谢谢大佬
- 请问qiubaiying.vip 用的是什么模板 HOT 1
- 000
- 请问如何触发的构建呢?
- 如何在posts 中引入另外一个markdown?
- TCD课程作业代码和报告
- 进行fork,更改仓库名字后仍访问不到。 HOT 1
- 文章发布后在页面上显示不了
- 如何修改文章的字体大小
- 页面不兼容R语言代码的显示 HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from qiubaiying.github.io.