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 982 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 Nov 3, 2026
Static site themesHTMLJekyll Klise
piharpi/jekyll-klise
Klisé is a minimalist Jekyll theme for running a personal site or blog, light & dark mode support.
Active · last commit Oct 25, 2026
Static site themesSCSSType On Strap
sylhare/Type-on-Strap
Simplistic, responsive jekyll based open source theme.
Maintained · last commit Aug 7, 2026
Static site themesLiquidFixIt
hugo-fixit/FixIt
A clean, elegant but advanced blog theme for Hugo 一个简洁、优雅且高效的 Hugo 主题.
Active · last commit Nov 18, 2026
OfficialStatic site themesHTMLGuangLun2000 site
GuangLun2000/GuangLun2000.github.io
(Minimalism Style) Powered by Jekyll, based on the Minimal Mistakes theme and Jason Ansel's website.
Maintained · last commit Nov 16, 2026
Static site themesCSS
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.