创建新站点
hugo new site blog
添加主题
git submodule add \n
https://github.com/theNewDynamic/gohugo-theme-ananke.git \n
themes/ananke
设置主题
echo "theme = 'ananke'" >> hugo.toml
添加新文章
hugo new content content/go/p-1.md
hugo new content content/go/p-2.md
hugo new content content/about/a-1.md
hugo new content content/about/a-2.md
开启导航菜单
sectionPagesMenu = 'main'
调试模式(热重载)
hugo server --disableFastRender
打包
hugo