HEXO配置
可在根目录下的_config.yml文件中修改配置信息。
具体含义,可参考以下链接:
更换主题
以Async主题为例 , 进入链接。
在Readme部分将会有详细的配置教程。
按照步骤一步一步来就好了。
参考链接:https://hexo-theme-async.imalun.com/guide/
1. 安装需要的渲染器(不需要可不安装)
1 | npm install --save hexo-renderer-less hexo-renderer-ejs |
2. 安装主题
在博客根目录运行命令:
1 | npm i hexo-theme-async@latest |
3. 配置_config.yml
1 | theme: async |
4. 配置主题Config
在博客目录下创建_config.async.yml
写入主题配置
1 | theme: |
5. 其他配置
主题配置 | Hexo-Theme-Async (imalun.com)
参考此链接一步一步配即可。
- 本文链接: http://blogs.yovr.top/hexo配置和更换主题/
- 版权声明: 本博客所有文章除特别声明外,均默认采用 CC BY-NC-SA 4.0 许可协议。