Installation
Install Solitude 4 and prepare a root theme configuration.
Create or open a Hexo blog
npm install -g hexo-cli
hexo init my-blog
cd my-blog
npm installInstall Solitude 4
npm install hexo-theme-solitude@4git clone --branch v4.0.0 --depth 1 https://github.com/everfu/hexo-theme-solitude.git themes/solitudeSet the theme in the Hexo root configuration:
# _config.yml
theme: solitudeCopy the theme configuration
cp node_modules/hexo-theme-solitude/_config.yml _config.solitude.ymlcp themes/solitude/_config.yml _config.solitude.ymlEdit the root copy. Do not edit package files under node_modules. Existing users should merge the new file instead of overwriting their customized configuration; see Upgrading to 4.0.
