hexo博客搭建
安装hexo我使用node是v16.14.0, npm是8.3.1,系统Macos M1
1npm install hexo-cli -g
初始化博客123# 自己创建一个文件夹,下面中我以myhexo为根目录mkdir myhexohexo init
开启本地浏览服务1hexo server
主题修改(Butterfly为例)hexo主题官网https://hexo.io/themes/
安装主题hexo根目录执行
1git clone -b master https://github.com/jerryc127/hexo-theme-butterfly.git themes/butterfly
修改根目录_config.yml里的主题
1234# Extensions## Plugins: https://hexo.io/plugins/## Themes: https://hexo.io/themes/theme: butterfly
安装渲染器
1npm install hexo-renderer-pug hexo-renderer-stylus --save
语言 ...