Hexo Theme Next5 Leaf is a heavily modified fork of the Hexo NexT 5 theme that adds dozens of plugins and customizations to create a feature-rich personal blog out of the box. It is authored by leafjame and built for Hexo v3.9.0 with NexT v5.1.4 as the base.
What is Hexo Theme Next5 Leaf?
Hexo Theme Next5 Leaf is a GitHub-published Hexo theme that transforms a standard Hexo blog into a full-featured personal website. It takes a Hexo site with a configuration file and generates static HTML pages with integrated support for comments (Valine and 来必力), media players (APlayer and DPlayer), analytics counters, PWA installability, and SEO submission. The theme runs on Hexo v3.9.0 and is created by developer leafjame.
Key Features
- Valine and 来必力 comment systems — Both are integrated; Valine-Admin is added for email notifications on new comments.
- PWA and Service Worker — The theme includes hexo-pwa and hexo-service-worker so the blog can be installed to a desktop or mobile home screen and works offline.
- Multimedia players — APlayer for music and DPlayer for video are embedded via hexo-tag-dplayer, plus a second "cool" music player is included in v2.1.
- SEO tooling — Built-in integration with hexo-generator-sitemap, hexo-generator-baidu-sitemap, hexo-baidu-url-submit, abbrlink permanent links, and permalink-pinyin.
- Customization effects — The README lists over 50 checkboxes including dynamic background images, ribbon stripes, mouse click effects, a canvas particle clock, rotating cube, and custom mouse cursors.
- Content widgets — Post pinning, popular post ranking, word count and reading time, related posts, recent posts, and a "read finished" reminder are all included.
- Page types — Besides default blog pages, the theme adds custom styles for tags, categories, archives, a waterfall photo gallery, 豆瓣 (Douban) books and movies pages, and a carousel on the homepage.
- CDN and compression — hexo-neat compresses HTML/CSS/JS (with excludable paths) and many assets are served via jsDelivr CDN.
Who is it for?
Hexo users who want a Chinese-language personal blog with rich interactive elements. It is particularly suited for bloggers who want comment systems with moderation, offline browsing via PWA, and built-in SEO tools without manually configuring many separate plugins. Developers coming from the stock NexT theme will find it a ready-made starting point for deeper customization.
What can you do with it?
Personal bloggers: launch a blog with pinned posts, a reading-time counter, and a bookmark-worthy offline mode installable as an app.
Music and video enthusiasts: embed audio playlists with APlayer and video via DPlayer directly into posts.
SEO-focused writers: automatically generate sitemaps, submit URLs to Baidu, and use abbrlink to keep post URLs stable and permanent.
How does it work?
Install by cloning the repository into the Hexo themes directory (git clone https://github.com/leafjame/hexo-theme-next5-leaf.git themes/leaf), set theme: leaf in the site _config.yml, and run hexo clean && hexo g && hexo s. The theme's own _config.yml and the site config are both customized per the README, and required plugins are installed via npm install --save-dev.
FAQ
Does Hexo Theme Next5 Leaf work with the latest Hexo?
The theme is built for Hexo v3.9.0 and NexT v5.1.4 according to the version badges. You may need to test compatibility if you use a newer Hexo version.
Is the theme free?
Yes, it is an open-source theme on GitHub. It does not mention a license explicitly in the README, so check the repository for license details.
How do I enable the Valine comment system?
Configure the Valine and LeanCloud settings in the theme's _config.yml. The README notes that LeanCloud switched to the international version and Valine-Admin is available for email notifications.
Does the theme support offline and PWA?
Yes. hexo-service-worker enables offline access and hexo-pwa lets you install the site to the desktop or mobile; both are v2.1 additions.




