left0ver / blog.github.io

我的blog repo
https://leftover.cn
MIT License
0 stars 0 forks source link

手把手教你用 hexo+github page 搭建博客 | 码上神域 #31

Open left0ver opened 2 years ago

left0ver commented 2 years ago

https://leftover.cn/2022/04/21/%E6%89%8B%E6%8A%8A%E6%89%8B%E6%95%99%E4%BD%A0%E7%94%A8%20hexo+github%20page%20%E6%90%AD%E5%BB%BA%E5%8D%9A%E5%AE%A2/

利用GitHub pages 搭建博客以及部署 首先在hexo官网下载hexo-cli,之后按官网的命令初始化博客 之后依次运行hexo clean ,hexo g ,hexo s,这时候你就可以在你的本地查看博客了 如果想要使用GitHub-page托管你的博客,则你需要新建一个GitHub仓库,仓库名命名为xxx.github.io,一定要以github.io结尾,如图