Hugo常用命令
当前欠缺:
- 无法渲染数学公式如 $a$, $x^2$
- 代码没有显示所用语言
基础命令
- 修改设置后重新构建网站:
1hugo server --cleanDestinationDir
- 创建新内容
1hugo new posts/new_posts/index.md
- 推送到GitHub Page
1hugo
2
3cd public
4
5git add .
6
7git commit -m "更新时间"
8
9git push
当前欠缺:
- 无法渲染数学公式如 $a$, $x^2$
- 代码没有显示所用语言
1hugo server --cleanDestinationDir
1hugo new posts/new_posts/index.md
1hugo
2
3cd public
4
5git add .
6
7git commit -m "更新时间"
8
9git push