开始
这是博客的第一篇文章。
技术栈:
- 静态生成:Hugo + PaperMod 主题
- 服务端:Nginx 反向代理,Let’s Encrypt 自动续期 HTTPS
- 部署:本地
hugo生成 → scp 推到服务器/var/www/blog/
怎么写新文章
hugo new content posts/我的新文章.md
# 编辑 content/posts/我的新文章.md,把 frontmatter 里 draft 改成 false
# 跑 ./deploy.sh 部署
本地预览
hugo server -D
# 访问 http://localhost:1313
后续文章会陆续搬过来。