怎么用github创建一个个人blog?

Views :
Update time : 2025-06-26 04:25:10

1. 前置准备安装git安装Hugo,当前环境用的是mac,直接通过homebrew安***rew install hugo 确保hugo版本为 >= v0.128.0 2.本地创建站点输入命令创建一个新的站点hugo new site blod 进入刚创建的目录后,初始化git仓库 使用git子模块的方式安装ananke主题 编辑配置文件hugo.toml,设置主题 启动服务 在浏览器中查看网页 创建文章hugo new content content/posts/123.md 文章内容上方的注释里,draft字段默认为true,使用常规的命令启动hug…。

怎么用github创建一个个人blog?
Related News
Read More >>
Blog Post With Youtube Video 电影《碟中谍》系列中哪一部最好?
2025-06-18 02:15:10
电影《碟中谍》系列中哪一部最好?...
Blog Post With Youtube Video Rust 使用 Result 的错误处理方式与 Golang 使用 error 的方式有什么本质区别?
2025-06-18 03:00:10
Rust 使用 Result 的错误处理方式与 Golang 使用 error 的方式有什么本质区别?...
Blog Post With Youtube Video 如何评价浙江这个省?
2025-06-18 03:15:10
如何评价浙江这个省?...
Blog Post With Youtube Video 有没有免费的云服务器?
2025-06-18 03:00:10
有没有免费的云服务器?...

Leave Your Message