Hugo 快速开始之坑

官方文档

https://gohugo.io/getting-started/quick-start/
大多数流程都按文档操作,没有问题

执行 hugo new posts/my-first-post.md
报错 unmarshal failed: Near line 0 (last key parsed ''):

解决办法

删除 config.toml,然后使用vscode 手动创建同名文件,并填入 theme = "ananke"