Documentation搭建Hugo站使用netlify动部署网站新见一个网站目录1 hugo new site blog 安装主题1 git clone https://github.com/dillonzq/LoveIt.git themes/LoveIt 初始化子模块1 2 3 git init git submodule add https://github.com/dillonzq/LoveIt.git themes/LoveIt 忽略public1 /public 复制编辑主题1 cp themes/LoveIt/exampleSite/config.toml 创建你的第一篇文章1 hugo new posts/first_post.md 本地预览网站1 hugo serve 新建GitHub库上传GitHub并1 2 3 git add -A git commit -m "网站搭建" git push -u origin master