为什么选 Hugo 极快的构建速度:毫秒级生成静态页面 纯静态:托管成本几乎为零,可以部署在 GitHub Pages / Cloudflare Pages / Vercel Markdown 驱动:专注写作,无需折腾 CMS PaperMod 主题:简洁、响应式、支持暗色模式 快速上手 1 2 3 4 5 6 7 8 9 10 11 # 安装 Hugo(macOS) brew install hugo # 新建站点 hugo new site my-blog # 安装主题 git submodule add https://github.com/adityatelange/hugo-PaperMod.git themes/PaperMod # 启动本地预览 hugo server -D 目录结构 1 2 3 4 5 6 7 zsss_blog/ ├── content/ │ ├── posts/ ← 博客文章 │ └── about/ ← 关于页面 ├── static/ ← 静态资源(图片、favicon 等) ├── themes/PaperMod/ ← 主题 └── hugo.toml ← 站点配置 下一步 配置自定义域名 接入 Giscus 评论系统 添加 Google Analytics 部署到 Cloudflare Pages 好的开始是成功的一半。🐾