_config.yml file in the theme directory is usually responsible for theme-related configuration. We strongly recommend that you use a replacement theme configuration file to prevent your configuration from being lost. So how to use instead of theme configuration files?
Create a new file next to the
_config.yml file in the blog root directory:
_config.volantis.yml, the configuration information in this file has priority over the configuration files in the theme folder.
When you need to modify something, such as the navigation bar menu, then you need to find the relevant content in the theme configuration file and copy it into the configuration file you created:
navbar: visiable: auto # always, auto logo: # choose [img] or [icon + title] img: https://cdn.jsdelivr.net/gh/volantis-x/cdn-org/blog/Logo-NavBar@3x.png icon: title: menu: -name: blog icon: fas fa-rss url: /
For themes installed using "
npm i hexo-theme-volantis", the theme configuration file is in "
The theme installed in the traditional way, the theme configuration file is in "