新建站点 hugo new site <site-name> # 或者可以 hugo new site . 设置gitignore # .gitignore public 配置文件 很需要调整的hugo的文件有:
hugo.toml .github/workflows/hugo.yaml content/* config/* data/* 按需求调整即可。
Hint 我这个皮肤需要把博文放在content/post/目录下面才能被检测到post的统计信息中,如果发现统计信息有误,可以尝试更换路径。
Hint 如果有特别的需求,把blog部署到奇怪的地方(例如部署到 …