Newsletter
Join the Community
Subscribe to our newsletter for the latest news and updates
A clean, elegant Hugo blog theme with dark mode, Algolia search, and support for Giscus, Disqus, and Twikoo comments.
Clean White is a blog theme for Hugo that ports the design of the huxblog Jekyll theme and the Clean Blog Jekyll theme into a fast, minimal static-site implementation. It takes markdown content and a Hugo site configuration as input and produces a static blog website with home, post, archive, search, and custom pages. The theme is developed by zhaohuabing and distributed as an open-source GitHub repository.
Clean White is an open-source Hugo blog theme that repackages two established Jekyll themes — huxblog and Clean Blog — for Hugo's static site generator. It focuses on blogging rather than general-purpose websites, and it sets up pages for listing posts, displaying archives, and running site search. You install it by cloning the repository into your themes directory or adding it as a git submodule, then copy the exampleSite content to start a complete blog.
algolia.json index file in the public directory; running atomic-algolia via npm pushes that file to Algolia, and the /search page queries it.reward flag displays QR codes; you replace the placeholder images in /static/img/reward/ with your own.hugo.toml, write posts in markdown, and run hugo server to preview; deploy the generated public folder to any static host.hugo, and push it with npm run algolia to enable the /search page.Clean White works as a standard Hugo theme: you write markdown content, set options in hugo.toml, and run Hugo to generate static pages. Comment widgets and analytics are injected based on config parameters, and the Algolia index is produced as part of the build. Dark mode automatically toggles based on the time of day and updates every minute, while a manual toggle stops auto-switching and remembers your choice.
Yes, Clean White is an open-source Hugo theme hosted on GitHub with no paid tier or license fee stated. You can download it, use it for personal or commercial blogs, and modify it to fit your needs.
Clean White supports Giscus, Disqus, and Twikoo. Disqus can also be routed through a PHP proxy when direct access is unavailable, and Giscus is powered by GitHub Discussions.
Yes, dark mode is on by default with automatic sunrise/sunset switching. You can adjust behavior with the auto_theme and dark_mode_toggle settings, and customize the dark palette using CSS variables in a custom stylesheet.
Clone https://github.com/zhaohuabing/hugo-theme-cleanwhite.git into the themes folder or add it as a git submodule, then copy the exampleSite directory into your project. Run hugo server and open localhost:1313 to preview the site.
