hugo blog

本地启动:hugo server –theme=minimal-academic –buildDrafts –watch

发布:hugo –theme=minimal-academic –baseUrl=“http://xxx.com/"

将pubilc目录里所有文件 push 到刚创建的Repository的 master 分支。

git 操作:

git init

git branch -a

git add .

git commit -m “update hugo blog”

git push -u origin master or git push -u origin master -f