【笔记】Hexo配置NexT主题
前言
Hexo配置NexT主题
下载NexT主题
- 两种方式选其一即可
使用npm生成
1 | npm install hexo-theme-next --save |
将配置文件拷贝到项目根目录
1 | cp node_modules/hexo-theme-next/_config.yml _config.next.yml |
直接下载源码
1 | git clone https://github.com/next-theme/hexo-theme-next themes/next |
将配置文件拷贝到项目根目录
1 | cp themes/next/_config.yml _config.next.yml |
修改全局配置
1 | theme: next |