NexT 作为 hexo 框架下一个十分热门的主题,成为了我使用 hexo 博客框架后所采用主题的第一选择。
格式约定
- 使用 /blog 指代 hexo 环境的根目录
Installation
NexT 作为 hexo 框架的一款主题,安装方式和其他诸如 jacman、Hueman 等主题基本一致。
将主题文件夹拷贝到 /blog/themes 下
1
2cd /blog
git clone https://github.com/iissnan/hexo-theme-next themes/next修改 /blog 下的
_config.yml文件,找到theme字段,修改如下:1
2
3
4
5
6# Extensions
## Plugins: https://hexo.io/plugins/
## Themes: https://hexo.io/themes/
#theme: landscape
theme: next启动 hexo 服务器,验证 NexT 主题是否安装成功