惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

Engineering at Meta
Engineering at Meta
博客园_首页
H
Help Net Security
WordPress大学
WordPress大学
让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
罗磊的独立博客
博客园 - 三生石上(FineUI控件)
B
Blog
I
InfoQ
SecWiki News
SecWiki News
T
Tailwind CSS Blog
Spread Privacy
Spread Privacy
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
V
Vulnerabilities – Threatpost
N
Netflix TechBlog - Medium
P
Palo Alto Networks Blog
CTFtime.org: upcoming CTF events
CTFtime.org: upcoming CTF events
Vercel News
Vercel News
Threat Intelligence Blog | Flashpoint
Threat Intelligence Blog | Flashpoint
K
Kaspersky official blog
M
MIT News - Artificial intelligence
S
Schneier on Security
T
Threat Research - Cisco Blogs
F
Fortinet All Blogs
Cyberwarzone
Cyberwarzone
Scott Helme
Scott Helme
aimingoo的专栏
aimingoo的专栏
Martin Fowler
Martin Fowler
MyScale Blog
MyScale Blog
The Cloudflare Blog
Recent Announcements
Recent Announcements
Security Latest
Security Latest
G
GRAHAM CLULEY
IT之家
IT之家
Y
Y Combinator Blog
The Last Watchdog
The Last Watchdog
腾讯CDC
Google DeepMind News
Google DeepMind News
V
V2EX
S
Securelist
TaoSecurity Blog
TaoSecurity Blog
B
Blog RSS Feed
S
SegmentFault 最新的问题
博客园 - 叶小钗
P
Proofpoint News Feed
云风的 BLOG
云风的 BLOG
Project Zero
Project Zero
G
Google Developers Blog
Google DeepMind News
Google DeepMind News
F
Full Disclosure

Hugo - 标签 - cywhat's blog

Failed to Extract Shortcode:template for Shortcode Admonition Not Found Hugo的Loveit主题修改sitemap 如何创建自己的cdn图床地址 Loveit开启评论功能 Loveit主题开启文章赞赏 Loveit主题的一些美化设置
Site.webmanifest异常处理
cywhat · 2021-12-14 · via Hugo - 标签 - cywhat's blog

1.前景

搭建完博客后,发现开发者模式中site.webmanifest加载非常慢,最后加载异常(404/超时等),严重拖慢博客的加载速度

2.生成博客所需要的图片文件

1).打开:https://realfavicongenerator.net/

2).选择Select your Favicon image按钮,上传自己的图片

/img/img35.png

3).选择continue with this picture

/img/img34.png

4).滑到页面最下方,选择Generate your Favicons and HTML code

/img/img36.png

5).选择HTML 5,选择favicon package

/img/img37.png

3.将文件夹所有内容存储到博客

将文件夹中所有内容都copy到博客的static文件夹下即可

/img/img38.png

4.修改site.webmanifest文件内容

nameshort_name值修改为网站url即可

5.重新生成发布

发现site.webmanifest的问题就已经解决了

关注一下再走吧

公众号 小程序

赞赏支持

微信打赏 支付宝打赏