Hexo安装NexT主题

安装NexT主题

安装前提

NexT主题仓库地址:https://github.com/next-theme/hexo-theme-next

打开终端,输入:

1
2
cd hexo 
git clone https://github.com/next-theme/hexo-theme-next themes/next

此时打开hexo目录,查看themes文件夹下已新增了next文件夹。

将hexo/_config.yml打开找到theme:项,修改为theme: next并保存。

终端输入:hexo clean&&hexo s便可查看主题安装效果。

后期更新主题,输入:

1
2
cd hexo/themes/next
git pull