Hugo使用指南!

快速上手hugo!

查看Hugo版本号

1
hugo version

新建一个Hugo页面

1
hugo new site <siteName>

设置主题

1
2
3
4
5
6
cd <siteName>
git init 

# 设置为 Stack主题
git clone https://github.com/CaiJimmy/hugo-theme-stack/ themes/hugo-theme-stack
git submodule add https://github.com/CaiJimmy/hugo-theme-stack/ themes/hugo-theme-stack

部署Hugo到github

Licensed under CC BY-NC-SA 4.0