Hugo Xmin
Hugo Xmin is a free, open-source static site theme built with HTML and Hugo. EXtremely Minimal Hugo theme: about 140 lines of code in total, including HTML and CSS (with no dependencies). It has 980 GitHub stars and is released under the MIT license.
github.com/yihui/hugo-xmin (opens in a new tab)
Data as of from the GitHub API; description from the project's repository. Report an error
Get started
Copy the files into a new folder with degit (no git history), or clone the repository with git.
git submodule add https://github.com/yihui/hugo-xmin.git themes/hugo-xminnpx degit yihui/hugo-xmin my-site
cd my-sitegit clone --depth 1 https://github.com/yihui/hugo-xmin.git my-siteSources: GitHub docs on template repositories, degit.
About Hugo Xmin
XMin is a Hugo theme written by Yihui Xie in about four hours: half an hour was spent on the Hugo templates, and 3.5 hours were spent on styling. The main motivation for writing this theme was to provide a really minimal example to beginners of Hugo templates. This XMin theme contains about 140 lines of code in total, including the code in HTML templates and CSS (also counting empty lines).
Built with
- HTML
- Hugo
Similar templates
More static site themes
Minimal Light
yaoyao-liu/minimal-light
A simple and elegant Jekyll theme for an academic personal website.
Maintained · last commit Oct 18, 2026
Static site themesCSSDoIt
HEIGE-PCloud/DoIt
A clean, elegant and advanced blog theme for Hugo.
Maintained · last commit Oct 26, 2026
Static site themesHTMLFixIt
hugo-fixit/FixIt
A clean, elegant but advanced blog theme for Hugo 一个简洁、优雅且高效的 Hugo 主题.
Maintained · last commit Oct 26, 2026
OfficialStatic site themesHTMLType On Strap
sylhare/Type-on-Strap
Simplistic, responsive jekyll based open source theme.
Active · last commit Aug 7, 2026
Static site themesLiquidAnanke
gohugo-ananke/ananke
Ananke: A theme for Hugo Sites.
Active · last commit Sep 26, 2026
Static site themesCSSWhiteglass
yous/whiteglass
Minimal, responsive Jekyll theme for hackers.
Maintained · last commit Jul 21, 2026
Static site themesHTML
How do I use Hugo Xmin?
Copy the files into a new folder with npx degit yihui/hugo-xmin my-site (no git history), or fork the repository on GitHub. Then follow the README for the install and dev commands.
Can I use Hugo Xmin for commercial projects?
Yes. Hugo Xmin is released under the MIT license, a permissive license that allows commercial use as long as you keep the copyright and license notice. Third-party assets bundled with it (images, fonts, icons) may have their own terms.
Is Hugo Xmin maintained?
The repository's most recent commit was on Jun 8, 2026. appsgit only lists templates from repositories with a commit in the last six months.