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

推荐订阅源

Y
Y Combinator Blog
The GitHub Blog
The GitHub Blog
云风的 BLOG
云风的 BLOG
Engineering at Meta
Engineering at Meta
Google DeepMind News
Google DeepMind News
aimingoo的专栏
aimingoo的专栏
Recent Announcements
Recent Announcements
A
About on SuperTechFans
U
Unit 42
MyScale Blog
MyScale Blog
J
Java Code Geeks
博客园_首页
Blog — PlanetScale
Blog — PlanetScale
D
Docker
Microsoft Azure Blog
Microsoft Azure Blog
博客园 - 司徒正美
量子位
月光博客
月光博客
G
Google Developers Blog
V
V2EX
博客园 - 聂微东
宝玉的分享
宝玉的分享
IT之家
IT之家
Vercel News
Vercel News

Amon's Blog

我是一个 HR,碰到疑似“外星人”,居然让我帮他修理星际飞船?! 如何在 GitHub README 中插入视频?原来这么简单 How to embed a video into GitHub-README? So easy! Simply way to support multiple languages i18n in Next.js 14 (Based on App Router) 一篇文章学会 Next.js 实现 i18n 国际化多语言(基于App Router) 《游子》 How to solve error on CentOS "/lib64/libstdc++.so.6 version GLIBCXX_3.4.xx not found" Hexo blog title include special symbols reports error Best Practices for Backend System Refactoring: How to do backend system refactoring efficiently and with high quality 《一个地方,人满为患》 《我》 How to solve error GitHub Permission denied fatal Could not read from remote repository 解决错误 GitHub Permission denied fatal Could not read from remote repository 《山 · 其二》 《山 · 其一》 《地铁》 写于11月27日 从优雅地查看K8s应用日志聊到日志管理 《中国折叠》
十年磨一剑,今朝更锃亮:把 Hexo blog + hexo-theme-next 博...
Amon Xu · 2024-05-14 · via Amon's Blog

hexo blog upgrade

磨剑

现在很有意思,凡事讲究个敏捷、迭代、快。稍微一个不留神,就会发现自己被时代远远甩在后面。

我的 Blog 托管在 GitHub Pages + Hexo,有段时间没更新 Blog 程序了。这两天心血来潮想试下更新,发现程序落后好几个大版本(当前使用 3.x,最新版本 7.x)。

今天头铁,备份 Blog 后果断上手开干,先报下总结:

好消息:升级过程意外的顺利

坏消息:升级后没感觉到明显变化 (可能是我期望太高了🤔️)

升级后的程序版本信息:

1
2
3
4
5
❯ hexo version
INFO Validating config
hexo: 7.2.0
hexo-cli: 4.3.2
os: darwin 22.4.0 13.3.1

十年

Blog 最早大概是 2011、2012 年大学期间随便买了个域名,用 WordPress 搭建。https://amonxu.com/2012/05/21/zh-CN/2012-05-21-hello-world/

2013 年接触了 GitHub Pages,觉得 WordPress 实在太不 Geek 了,马上把 Blog 迁移到 GitHub Pages + Jekyll。 https://amonxu.com/2013/04/18/zh-CN/2013-04-18-wordpress-to-github/

2015 年时,看到 Hexo 的几个主题很有意思,瞬间又感觉 Jekyll 不够酷了,用 Hexo + Node.js 替代了 Jekyll + Ruby。https://amonxu.com/2013/05/23/zh-CN/2013-05-22-hello--my-blog/ 。又换了现在这个域名 https://amonxu.com

后面除了更新文章,换过几个主题,暂时没再继续折腾 Blog,直到今天。

折腾时看到很多程序停止维护,更新时间动不动就是 8, 9 years ago,感叹光阴易逝。

使用过的的Hexo主题列表

amonxu.com hexo theme list

GitHub Pages 部署记录

amonxu.com github pages deployments history

升级参考资料:

https://www.imczw.com/post/tech/hexo5-next8-updated.html