欢迎来到 Rainjoe’s blog!这是这个博客的第一篇文章。
这个博客是怎么搭起来的
- Hugo:用 Go 写的静态站点生成器,快、简单、没有数据库。
- PaperMod:一个简洁的 Hugo 主题,支持暗色模式、标签和搜索。
- Vercel:免费托管,push 代码到 GitHub 后自动构建上线。
- 域名:绑定了 www.rainjoe.com。
写一篇文章有多简单
在终端里执行:
hugo new posts/我的新文章.md
编辑生成的 Markdown 文件,把 front matter 里的 draft = true 改成 false,然后:
git add . && git commit -m "new post" && git push
Vercel 检测到新的提交后会自动重新构建,几十秒后文章就上线了。
接下来会写点什么
技术笔记、踩坑记录,以及任何值得留下来的想法。
敬请期待。