Solitude 4.0.0 is available

Solitude 4Bring the focus back to your content

Native ES modules, a unified PJAX lifecycle, and on-demand features give Hexo a clear, fluid, maintainable blog experience.

ES ModulesPJAX LifecycleOn-demand

Interface capability demo

Every screen serves the content

01 / 03

Let the content lead

Banners, recommendations, and recent posts create a clear rhythm that makes a blog instantly understandable.

Homepage experience
01 / 03
Solitude homepage banner demo
Solitude homepage recommendation demo

02 / 03

Long-form reading, with room to breathe

Post navigation, side information, and content enhancements keep technical writing focused and personal.

Reading and content
02 / 03
Solitude article AI summary and code demo

03 / 03

Load on demand, stay lightweight

Native ES modules, a unified PJAX lifecycle, and a stable browser API keep search, comments, and music maintainable.

Extensions and runtime
03 / 03
runtime.ts

import { Solitude } from '../core/api.js'

// Manage the page lifecycle

Solitude.on('afterNavigate', () => {

mountPageModules()

})

On demand · automatic cleanup

PJAX

Unified lifecycle

Search

On-demand search

API

Stable extension API

Runtime

Automatic cleanup

From zero to running

Three steps from Hexo to Solitude

The commands stay short and the setup path stays clear. Continue into the guide for upgrades and customization.

Read installation guide
  1. 01

    Install the theme

    Install Solitude 4 with npm, or check out the v4.0.0 Git tag.

    npm install hexo-theme-solitude@4
  2. 02

    Enable Solitude

    Switch the theme name in your Hexo root _config.yml.

    theme: solitude
  3. 03

    Run locally

    Generate and serve the site, then open localhost:4000.

    hexo clean && hexo generate && hexo server