这是我参与8月更文挑战的次日,next 是 Hexo 当前最流行的主题,其简约优雅的风格和对多种插件的原生支持使其备受青睐。我本人也是next主题的用户,接下来将由本篇开启next安装美化的系列文章,保证从安装Hexo开始只要安装系列文章操做,你也能够达拥有一样效果的博客。git
本文主要记录Next主题的安装和经常使用的美化方法,有疑问欢迎在评论区交流。github
Next最新版本为V7.7.1 (2020.02.24),官方连接Next Github连接。markdown
安装时进入Hexo根目录clone Next仓库:hexo
cd hexo
git clone https://github.com/theme-next/hexo-theme-next themes/next
复制代码
修改
站点配置文件
,将theme更改成next。oop
# Extensions
## Plugins: https://hexo.io/plugins/
## Themes: https://hexo.io/themes/
theme: next
复制代码
此时next已经安装并配置完成,更新hexo便可查看效果。ui
hexo clean
hexo g
hexo s
复制代码
修改
主题配置文件
中scheme
字段的值,默认为Muse
:spa
scheme: Muse
复制代码
{% asset_img nextanzhuangshili.png Muse%}插件
scheme: Mist
复制代码
scheme: Pisces
复制代码
scheme: Gemini
复制代码
我目前使用的是Gemini3d
在hexo根目录/themes/next 文件夹下执行命令:code
cd themes/next
git pull
复制代码
\