创建hugo工程添加到github
hugo new site mysite
cd mysite
git init
git submodule add https://github.com/xiaoheiAh/hugo-theme-pure.git themes/pure
git remote add origin https://github.com/{username}/{custom}.git
git push -u origin master
生成cloudflare pages
- 登录cloudflare
- 创建page项目
- 选择存储库(github),设置部署分支
- 完成部署
- 自定义域名