An elegant Hexo theme that supports lazy loading, PWA, Latex, and multiple comment systems.
Theme design fully authorized by @Zhang Hong Heo
- Page lazy loading (Pjax), image lazy loading (LazyLoad), offline application (PWA)
- Comments (Twikoo, Waline, Valine, Artalk, Giscus), supports dual comments
- Day and night switch (ColorMode)
- Lightbox (medium-zoom, fancybox)
- Mathematical formulas (Latex)
- Featured pages: Instant articles, My gear, Online tools, Music hall, Friend links, Album page, Douban page, Bullet screen message page
- Article features: AI summary, code highlighting
If you have any questions, please raise an issue
-
Install using the NPM package
npm i hexo-theme-solitude
-
Apply the theme
theme: solitude
Visit Documentation for more information.
The browser runtime uses native ES modules and exposes one stable extension entry point through window.Solitude:
navigate(url),refresh(),copy(text), andtoggleTheme()loadScript(url, options)andloadStyle(url, options)on(event, handler)forready,beforeNavigate,afterNavigate, andthemeChange
on returns an unsubscribe function. The legacy sco, utils, pjax, GLOBAL_CONFIG, and PAGE_CONFIG globals are no longer public APIs; custom scripts should migrate to window.Solitude.
The CDN acceleration and security protection of this project are sponsored by Tencent EdgeOne
Please retain the theme copyright information
Apache-2.0 License © 2025-present everfu
