Newsletter
Join the Community
Subscribe to our newsletter for the latest news and updates
A card-style Hexo blog theme with configurable home page filtering and custom layouts.
Clover is a card-style theme for the Hexo static site generator that adds a filterable home page, tag and category archive pages, and GitHub-style code highlighting to a Hexo blog.
Clover is a Hexo theme that transforms a default Hexo blog into a card-based layout with configurable home page filtering. It takes a Hexo project with the standard directory structure (containing _config.yml, source, themes, etc.) and replaces the default theme with custom card layouts for posts and projects. The theme is maintained on GitHub by the user esappear and is installed by cloning the repository into the themes directory.
hexo new page "tags" and setting the page layout to tag in its front-matter.category layout, following the same workflow as the tags page.project-card and article-card styles independently for home, archive, tag, and category pages using the card_style config.Clover is for Hexo bloggers who want a visual card-based layout for their posts and projects. It is especially suited for developers who maintain a personal blog or portfolio and want to curate the home page to show only specific categories, such as JavaScript or CSS projects. The theme's tag and category pages serve bloggers who need organized archives, and the custom menu and social links help personal brands present their online presence consistently.
Installation requires cloning the repository into the themes/clover directory, setting theme: clover in the root _config.yml, and running npm install hexo-renderer-sass --save. After that, the theme's default layout is active.
In the theme's config, use the home block to specify category, tag, except_category, and except_tag. Posts that match the included categories or tags and do not match the excluded ones will appear on the home page.
No, Clover requires the hexo-renderer-sass package to compile its SCSS styles. Without it, the theme will not render correctly.
Yes, but you must disable Hexo's default highlighter by setting highlight.enable: false and then declare the language in each code block so highlight.js can apply the correct style.
Clover is hosted as a public GitHub repository, so you can clone it directly and use it in your own Hexo project, modifying it to fit your needs.
