Hello World

Posted on Mar 27, 2021

第一篇博文,顺便记录一下 Hugo 怎么用。

Hugo 有关命令

创建新文章

hugo new <SECTIONNAME>\<FILENAME>.<FORMAT>

启动临时服务器

hugo server -D

生成静态网页

hugo -D

Git 有关的命令

自定义主题

添加主题

git submodule add https://github.com/<THEMECREATOR>/<THEMENAME> themes/<THEMENAME>

更新主题

git submodule update --rebase --remote