Installation

How to install and use the hexo-theme-solitude theme.

Install Hexo

If you haven't installed Hexo yet, please install it first. You can refer to the Hexo official documentation for installation instructions.

Install the Theme

Create a Hexo Project

npm
pnpm
bun
yarn
npx hexo init [project-name]

CD into the Project Directory

cd [project-name]

Install the Theme

npm
pnpm
bun
yarn
npm i hexo-theme-solitude

Configure the Theme

Edit the _config.yml file in your Hexo project and add the following content:

theme: solitude

Install Dependencies

npm
pnpm
bun
yarn
npm i hexo-renderer-pug

Run the Server

npm
pnpm
bun
yarn
npm run hexo server