public目录
//push到远程仓库的命令
cd public
git init
git remote add origin https://github.com/codexue/codexue.github.io.git
git add -A
git commit -m "new site first commit"
git push -u origin master
稍后我们就可访问:http://codexue.github.io即可随时随地看到我们创建的博客啦!
附录
- Hugo中文文档:https://www.gohugo.org/