Volantis A Wonderful Theme for Hexo
Volantis is a feature-rich and highly modular Hexo blog theme. Thanks to its powerful modularity, you can easily build a minimalist style blog, or you can build a large-scale comprehensive blog with multi-person collaboration and document modules based on the official website.
All Volantis users can create their own Issue according to the format to add their blog to the sample blog page of the official website.
Ready to work
Self-built blog requires certain relevant knowledge. Before you start, please must make sure you can use the markdown grammar, simple to master My git knowledge, and most importantly, know how to seek solutions when encountering difficulties:
- Scroll through and search documents
- Search whether there is a solution in issues
- Create a new issue and follow the requirements to describe the problem you encountered in detail
If you haven’t used Hexo before, don’t worry, you can read through the Hexo Chinese document. If you want to use it handily, it’s best to refer to the open source project provided by the team. The source code to build:
If you are updating from an old version or migrating with other themes, please make sure that the environment version is not too low, otherwise compatibility problems will occur.
Hexo: 4.2 ~ 5.x |
Quick experience
If you already have the environment configuration conditions, you can enter the following line of code in the terminal, and you can try the experience after a while:
git clone https://github.com/volantis-x/demo.git && cd demo && npm i && hexo s |
Download and install
Find and modify in the blog/_config.yml
file:
theme: volantis |
Type in the terminal:
npm i hexo-theme-volantis |
if you are a Mac user
Open the terminal in the blog path, download, install and apply the theme:
curl -s https://volantis.js.org/start | bash |
This command will automatically detect and install the required environment, initialize the blog, then download, install and apply the theme.
Detailed usage of the script: #hexo.sh
Find and modify in the blog/_config.yml
file:
theme: volantis |
If you have already upgraded to Hexo 5.0.2
and above, you can directly use the npm
command to install:
npm i hexo-theme-volantis |
For the old version, you need to download the theme source code to the themes/
folder:
git clone https://github.com/volantis-x/hexo-theme-volantis themes/volantis |
If you cannot access GitHub, you can use the domestic mirror source:
git clone https://e.coding.net/volantis-x/p/hexo-theme-volantis.git themes/volantis |
Install Hexo search dependencies:
npm i hexo-generator-search hexo-generator-json-content |
Install the Stylus renderer:
npm i hexo-renderer-stylus |
new version update
Please refer to update log to update, the following are the things to note after the update:
The configuration file of 4.0.0 has changed a lot. It is strongly recommended not to change the old configuration file.
- The configuration items in the original data file are no longer supported, please set in the configuration file.
- The theme configuration file has been redesigned and needs to be reconfigured "completely".
- Friends chain uses data files and supports issues tags to realize dynamic self-help friends chain.
- The original meta custom layout now only supports top_meta and bottom_meta inside the article.
- The layout of the article list page can only be customized within a limited range.
- The sidebar component now only supports the sidebar position; there is a dedicated component at the end of the article.
- If the lazy loading plugin is installed, you need to uninstall it and use the lazy loading built into the theme (which conflicts with the plugin).
- If you want to close the comments, you need to change it to
comments: false
. - If you want to hide the meta tag at the top or bottom of the article, you need to set
top_meta: false
orbottom_meta: false
. - If you need to hide the title and the meta tag at the top at the same time, you can also change
title: xxx
toseo_title: xxx
. - The information of multiple authors is defined using a data file. You only need to write ʻauthor: xxx` in the article instead of repeating the author's information.
- Now only the pictures with the gallery tag support zooming.
- The friend link page
layout: links
is changed tolayout: friends
.
agreement
This theme adopts the MIT Open Source License Agreement, which is free forever and unlimited use.
MIT Open Source License Agreement
The authorized person has the right to use, copy, modify, merge, publish, distribute, sublicense and sell the software and copies of the software.
The licensee can modify the license terms as appropriate according to the needs of the program.
The software and all copies of the software must include a copyright notice and a license notice.