Hexo + Fluid 搭建博客

1、安装Hexo

1
npm install -g hexo-cli

新建 hexo 目录

1
2
3
cd Hexo
hexo init
npm install

本地查看 hexo 服务

1
2
hexo generate
hexo server

2、安装 Fluid 主题

1
npm install --save hexo-theme-fluid

然后随便搞搞 _config.yaml, _config_fluid.yaml

3、发布

1
2
3
4
deploy:
type: git
repo: https://github.com/Yourname/Yourname.github.io.git
branch: main

正式发布

1
2
3
hexo clean
hexo generate
hexo deploy

4、关于新建文章

在 hexo 目录下执行:

1
hexo new "my-article-title"

Hexo + Fluid 搭建博客
https://yanghy233.github.io/2024/04/16/hexo-fluid-build/
作者
yanghy
发布于
2024年4月16日
许可协议