hexo切换主题

版权声明:此文章版权归呆呆所有,转发请注明出处! https://blog.csdn.net/zhangyu4863/article/details/83545802

hexo 修改主题
准备工作
查看好你想要的主题
然后下载下来
开始工作
我们先准备一个新的主题,比较有名的就是NexT了,下面以他为例,
下载主题

进入你的hexo项目中


git clone https://github.com/iissnan/hexo-theme-next themes/next # 下载主题到themes下面的next文件夹下

修改显示主题 
在项目目录下查找_config.yml找到theme

theme: next 将主题名给我next,注意的是在next前面有个空格

hexo s --debug 重启服务,用debug的模式启动

然后就可以测试了

hexo s -debug 

基本的设置就是这样,如果还要有什么改动可以参考http://theme-next.iissnan.com/theme-settings.html进行配置

猜你喜欢

转载自blog.csdn.net/zhangyu4863/article/details/83545802