diff --git a/_config.amane.yml b/_config.amane.yml index 33860b8..16a2cc3 100644 --- a/_config.amane.yml +++ b/_config.amane.yml @@ -214,7 +214,7 @@ widgets: url: 'https://twitter.com/nofated095' Telegram: icon: fab fa-telegram - url: 'https://nofated.t.me' + url: 'https://t.me/s/Nofated' Email: icon: fas fa-envelope url: 'mailto:i@nof.moe' diff --git a/package.json b/package.json index 14b35c5..40f6803 100644 --- a/package.json +++ b/package.json @@ -31,7 +31,7 @@ "hexo-clean-css": "2.0.0", "hexo-uglify": "^2.0.0", "hexo-html-minifier": "^1.0.0", - "hexo-theme-amane": "0.0.37", + "hexo-theme-amane": "0.0.38", "hexo-theme-icarus": "5.2.1", "inferno": "^8.0.1", "inferno-create-element": "^8.0.1", diff --git a/source/_posts/cards-for-teens.md b/source/_posts/cards-for-teens.md index 56e4d65..a9ec515 100644 --- a/source/_posts/cards-for-teens.md +++ b/source/_posts/cards-for-teens.md @@ -3,10 +3,10 @@ title: 合法萝莉大陆开卡指北 date: 2023-11-26 cover: https://imgsrc.baidu.com/forum/pic/item/c2fdfc039245d68890f6c392e2c27d1ed21b240b.jpg tags: -- 银行卡 +- Cards categories: -- 卡友日常 -- 银行卡 +- Finance +- Cards toc: true --- 年满十六岁但是还不到十八岁的小萝莉想要开一张银行卡来做日常使用,那么怪蜀黍会推荐给小萝莉什么样的卡呢? diff --git a/source/_posts/my-cards.md b/source/_posts/my-cards.md index a2996bb..1564a76 100644 --- a/source/_posts/my-cards.md +++ b/source/_posts/my-cards.md @@ -3,10 +3,10 @@ title: I want a card | 我开的那些卡 date: 2023-07-12 cover: https://imgsrc.baidu.com/forum/pic/item/9922720e0cf3d7ca6f03e2b9b71fbe096a63a90c.jpg tags: -- 银行卡 +- Cards categories: -- 卡友日常 -- 银行 +- Finance +- Cards toc: true --- 不知不觉,我成为了一个卡友。 diff --git a/source/_posts/sign-up-different-outlook.md b/source/_posts/sign-up-different-outlook.md index 8d0d897..ae6800e 100644 --- a/source/_posts/sign-up-different-outlook.md +++ b/source/_posts/sign-up-different-outlook.md @@ -3,9 +3,9 @@ title: 不仅是 outlook.com | 申请地区域名的 Outlook 邮箱 date: 2021-08-28 cover: https://pic.rmb.bdstatic.com/bjh/da66dc778eb58ee35adc1de5c5bdd323.png tags: -- Outlook +- Email categories: -- 野生技术协会 +- Technology toc: true --- 通过修改语言注册 Outlook.it/Outlook.ie/Outlook.fr 等地区域名邮箱。 diff --git a/source/_posts/ubuntu-aria2.md b/source/_posts/ubuntu-aria2.md index d230914..a427ee1 100644 --- a/source/_posts/ubuntu-aria2.md +++ b/source/_posts/ubuntu-aria2.md @@ -6,7 +6,8 @@ tags: - Ubuntu - aria2 categories: -- 野生技术协会 +- Technology +- Linux toc: true --- Tutorial of installing aria2 on Ubuntu. diff --git a/source/_posts/ubuntu-to-go.md b/source/_posts/ubuntu-to-go.md index 7208c58..91d77a6 100644 --- a/source/_posts/ubuntu-to-go.md +++ b/source/_posts/ubuntu-to-go.md @@ -6,7 +6,8 @@ tags: - Ubuntu - VM categories: -- 野生技术协会 +- Technology +- Linux toc: true --- 即插即用的 Ubuntu,将 Ubuntu 安装在便携式储存设备上。 diff --git a/source/_posts/userbot.md b/source/_posts/userbot.md index 6f9058b..55592e5 100644 --- a/source/_posts/userbot.md +++ b/source/_posts/userbot.md @@ -7,7 +7,8 @@ tags: - Telegram - TypeScript categories: -- 野生技术协会 +- Technology +- Telegram toc: true --- 记一次修改 Q2TG 源码使 Telegram 和 QQ 消息同步机器人去 User Bot 化的过程。 diff --git a/source/sw.js b/source/sw.js index b0f4bd7..1fa5e31 100644 --- a/source/sw.js +++ b/source/sw.js @@ -87,6 +87,23 @@ routing.registerRoute( }) ); +routing.registerRoute( + /.*www\.libravatar\.org/, + new CacheFirst({ + cacheName: 'static-immutable' + cacheSuffixVersion, + fetchOptions: { + mode: 'cors', + credentials: 'omit' + }, + plugins: [ + new ExpirationPlugin({ + maxAgeSeconds: 30 * 24 * 60 * 60, + purgeOnQuotaError: true + }) + ] + }) +); + routing.registerRoute( /.*cdn\.jsdelivr\.net/, new CacheFirst({