Newsletter
Join the Community
Subscribe to our newsletter for the latest news and updates
A clean, minimal Hexo blog theme for developers with dark/light styles, local search, and Valine comments.

A Jamstack blog starter built with Nuxt 3, Storyblok, and Tailwind CSS — a demo repo for building fast, headless blogs.
Coder is a clean, minimal Hexo blog theme designed for developers, with built-in dark/light styles, local search, and Valine comment support.
Coder is a Hexo theme for coders and developers who want a fast, clean, and practical blog. It runs on the Hexo static site generator, taking Markdown posts as input and generating a static blog site as output. The theme is authored by Xunzhuo and is available on GitHub under the repository hexo-theme-coder. The README describes it as "a clean Hexo theme for Coders," with a design that emphasizes minimalism and light/dark mode support.
Coder supports two visual styles, black and light, configurable in the Hexo _config.yml file. It also includes multi-language capability, with English and Simplified Chinese language files. The theme comes with features typical for a blog: navigation menu, about page, local search, Valine comments, code highlighting, and site-level UV/PV counters. The theme is still in active development; the README's TODO list shows categories, tags, post table of contents, and mobile compatibility as planned but not yet implemented.
style setting in _config.yml.search.xml file, configurable under the search section.enable: false.language option in _config.yml.menu configuration, e.g., About, Link, and GitHub.404.md file in the Hexo source directory.highlight option.Coder is aimed at developers and technical writers who use the Hexo static site generator and want a minimal, readable blog theme. It suits bloggers who prefer dark mode for coding-related content and who want a theme that loads fast without excessive JavaScript. The multi-language support also makes it a good fit for Chinese- and English-speaking developers who maintain bilingual blogs.
Installing Coder follows the standard Hexo theme workflow. First, clone the repository into the themes folder using git clone [email protected]:Xunzhuo/hexo-theme-coder.git coder for the latest version, or download the stable release zip from GitHub and extract it. Then set theme: coder in the Hexo _config.yml file, configure the language, and adjust theme-specific settings such as title, style, menu, search, and Valine comments. Finally, create a 404.md file if you want the 404 page, and generate the site with Hexo.
Yes, Coder is an open-source Hexo theme released on GitHub. It is free to use, and contributions via issues and pull requests are welcomed by the author.
Coder provides a dark/light style option. You can set style: black for a dark appearance or style: light for a light one in the theme's configuration.
Coder uses Valine for comments. In the _config.yml, set valine.enable: true and replace the placeholder appId and appKey with your own LeanCloud credentials. To disable comments, set enable: false.
Coder includes language files for English and Simplified Chinese. Set the language key in your Hexo _config.yml to either en or zh-Hans to switch.
Currently, the theme's README lists mobile compatibility as a TODO item, meaning it is not fully optimized for mobile devices at this time.
