Newsletter
Join the Community
Subscribe to our newsletter for the latest news and updates
A super simple, elegant grayscale-responsive Hexo theme with PhotoSwipe galleries, Creative Commons support, and multi-language options.
hexo-theme-chan is a minimalist, grayscale-styled theme for the Hexo static site generator, designed for bloggers who want a simple, elegant presentation of photos and articles.
hexo-theme-chan is a free, open-source theme for the Hexo static site generator, created by the developer denjones. It takes a standard Hexo site — markdown posts plus front matter — and renders it as a responsive HTML site with a distinctive monochrome desktop view. The theme's name is the Chinese character 'Chan' (Zen), reflecting its "less is more" philosophy.
_config.yml file.photos list in front matter render as an inline gallery that opens in PhotoSwipe.photoInfos front matter property lets you attach a caption, width, and height to each photo in a gallery, in the same order as the photos list.photos and photoInfos front matter to create a captioned, dimension-aware gallery that opens in PhotoSwipe.fancybox tags untouched; the theme reroutes them to the PhotoSwipe lightbox.en, zh-CN, or zh-TW for a fully localized interface.Clone the repository into the themes directory of a Hexo site, then set the theme field to chan in the site _config.yml. After running hexo clean and hexo deploy, the theme takes over rendering. The theme's own _config.yml documents all customization options, including the grayscale toggle, sidebar link, and language.
Yes. The theme keeps the FancyBox tag usable but internally uses PhotoSwipe, so posts written with fancybox tags will display through the PhotoSwipe lightbox without any modification.
The theme includes English, Simplified Chinese (zh-CN), and Traditional Chinese (zh-TW). Because of a Hexo language-selection bug, you should set an exact language in the site config rather than leaving it blank.
Only the latest browsers are supported. Older browsers might work, but the theme has not been tested on them.
