Hexo安装步骤
环境准备
安装Hexo
npm install hexo-cli -g
hexo init blog
cd blog
npm install
hexo server
Next主题
安装Next
cd your-hexo-site
git clone https://github.com/iissnan/hexo-theme-next themes/next
启用主题
打开“_config.yml”文件,找到 theme 字段,并将其值更改为 next。
theme: next
设置搜索功能
1. 在hexo的根目录下执行命令:
npm install hexo-generator-searchdb --save