hexo博客代码拉取编译记录
个人博客
切换机器后编译方式一、拉取代码需要在hexo代码线写blog,因为main是用来展示html资源的。需要做分离。
1git clone -b hexo https://github.com/canaaniteL/canaaniteL.github.io.git
二、准备hexo环境1npm install hexo、npm install、npm install hexo-deployer-git
三、主题下载123456在2023年9月9日使用的主题是:https://github.com/jerryc127/hexo-theme-butterfly参考github操作即可git clone -b master https://github.com/jerryc127/hexo-theme-butterfly.git themes/butterflynpm i hexo-theme-butterflynpm install --save hexo-filter-mermaid-diagrams 支持画图功能 写法参考https://butterfly.js.org/post ...