hexo-如何更换主题

使用GIT下载主题 #

本次选用的主题是NextT,下载方法:

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

更改配置文件 #

找到博客根目录下的_config.yml,将theme修改为next

theme: next #注意,冒号后面要加一个空格

测试 #

git bash中输入<hexo s>测试主题功能是否正常


生成&amp;上传 #

hexo clean #清理
hexo g #重新生成
hexo d #推送至远端

参考链接 #

  1. https://segmentfault.com/a/1190000012805627