创建:
hugo new -c content/zh-cn posts/newpost.md编译:
hugo -d docs主题升级:
razonyang/hugo-theme-bootstrap
$ cd themes/hugo-theme-bootstrap
$ git fetch
$ git checkout [version]
$ cd ../../
$ git add themes/hugo-theme-bootstrap
$ git commit -m 'Upgrade the theme'- Replace the
[version]with the latest version. The version can be listed bygit tag -l | sort -rV. - You can also checkout the
masterbranch for getting the latest commit.