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 977 GitHub stars and is released under the MIT license.
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
al-folio
alshedivat/al-folio
A beautiful, simple, clean, and responsive Jekyll theme for academics.
Static site themesHTMLHugo PaperMod
adityatelange/hugo-PaperMod
A fast, clean, responsive Hugo theme.
Static site themesHTMLMinimal Mistakes
mmistakes/minimal-mistakes
Jekyll theme for building a personal site, blog, project documentation, or portfolio.
Static site themesHTMLJekyll Theme Chirpy
cotes2020/jekyll-theme-chirpy
A minimal, responsive, and feature-rich Jekyll theme for technical writing.
Static site themesHTMLJust The Docs
just-the-docs/just-the-docs
A modern, high customizable, responsive Jekyll theme for documentation with built-in search.
OfficialStatic site themesSCSSHuxpro site
Huxpro/huxpro.github.io
The original Jekyll blog and theme, preserved at huxpro.github.io.
Static site themesHTML
What is 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 977 GitHub stars and is released under the MIT license.
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.