本页的主要内容均转自其它博客,并结合个人经验进行了优化,仅供记录之用
Volantis 是一个功能丰富、高度模块化的 Hexo 博客主题。得益于其强大的模块化特性,您可以轻松搭建一个极简风格的博客,也可以仿照官网搭建一个多人协作的、包含文档模块的大体量综合型博客。
下载与安装
稳定版本
在 blog/_config.yml
文件中找到并修改:
1 | theme: volantis |
在终端中输入:
1 | npm i hexo-theme-volantis |
测试版本
在 blog/_config.yml
文件中找到并修改:
1 | theme: volantis |
开始前需要确认不存在 themes/volantis 文件夹, 如果有, 请自行删除.
1 | git submodule add git@github.com:volantis-x/hexo-theme-volantis.git themes/volantis |
在终端中输入:
1 | cd themes/volantis |
更新主题
打开主题文件夹
/themes/volantis
,在终端中输入:1
git pull