如何解决谷歌搜索时如何让图标在iphone safari中显示?
python Flask 应用程序中 HEAD TAG 中的当前代码:
<!--Site favicon-->
<link rel="shortcut icon" href="{{ url_for('static',filename='images/site_images/favicon.ico') }}"/>
<link rel="apple-touch-icon" href="{{ url_for('static',filename='images/site_images/touch-icons/apple-touch-icon-iphone-60x60.png') }}">
<link rel="apple-touch-icon" sizes="60x60" href="{{ url_for('static',filename='images/site_images/touch-icons/apple-touch-icon-ipad-76x76.png') }}">
<link rel="apple-touch-icon" sizes="114x114" href="{{ url_for('static',filename='images/site_images/touch-icons/apple-touch-icon-iphone-retina-120x120.png') }}">
<link rel="apple-touch-icon" sizes="144x144" href="{{ url_for('static',filename='images/site_images/touch-icons/apple-touch-icon-ipad-retina-152x152.png') }}">
问题是当我在 iphone (safari) 上搜索我的网站时,它不像大多数网站那样在网站旁边显示小图标图像,而是显示默认的地球图标。我已经清除了缓存并进行了搜索,几天前我添加了此代码。任何人都知道潜在的修复方法是什么,或者我哪里出了问题?
版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 dio@foxmail.com 举报,一经查实,本站将立刻删除。