Hexo 搭建个人博客教程 - 4 - 使用并配置 next 主题
非原创 java_world 发表于:2018-06-28 10:31:55
  阅读 :137   收藏   编辑

上一篇 Hexo 搭建个人博客教程 - 3 - 将本地hexo托管到github

next官网

https://github.com/theme-next/hexo-theme-next/tree/v7.8.0

安装下载next

进入hexo目录下的themes目录

git clone  
mv  next

修改配置_config.yml

hexo默认主题为landscape,搜索该关键字,找到,替换为next

# Extensions
## Plugins: https://hexo.io/plugins/
## Themes: https://hexo.io/themes/
theme: next

配置主题

位置D:\hexo\hexo\themes\next下的_config.yml

外观,默认Muse,这里我修改为Pisces

# Schemes
scheme: Pisces
#scheme: Mist
#scheme: Pisces
#scheme: Gemini

查看配置效果

 cd d:hexo/hexo/ 进入到hexo目录
 hexo clean #清除缓存
 hexo generate #生成静态网页
 hexo server #本地预览

 访问

http://localhost:4000/ 

g_1

推送到github

hexo deploy

访问

https://malian-tech.github.io/