安装hugo 1 brew install hugo 初始化一个项目 1 hugo new site [name] 下载主题 1 2 3 touch .gitmodules cd themes/ git submodule add https://github.com/olOwOlo/hugo-theme-even 拷贝 even 主题的配置文件到根目录 1 cp themes/hugo-theme-even/exampleSite/config.toml ./ 生成文章 1 hugo new post/xxx.md 生成静态文件 -d