> [Hugo中文文档](https://www.gohugo.org/) ## Hugo是基于Go语言 ## 目录结构 archetypes/ content/ layouts/ static/ config.toml data/ resources/ themes/ public/ 执行hugo编译整个网站生成到此目录。 ## 安装 (1)安装Go (2)下载hugo:https://github.com/gohugoio/hugo/releases (3)解压到指定目录,建议go的bin目录 (4)并配置hugo环境变量 ## 操作 + 创建一个项目:hugo new site myproject + 添加文档:hugo new aaa.md + 生成html后缀:`--uglyURLs`(测试失败) hugo问题: (1)别人的hugo博客可以部署到gitee,我的就不可以,不知道什么问题。 (2)写在content里面的md并没有生成html文档。