Hugo Xmin screenshot

Hugo Xmin

Author Avatar Theme by Yihui
Updated: 24 Jan 2025
828 Stars

eXtremely Minimal Hugo theme: about 140 lines of code in total, including HTML and CSS (with no dependencies)

Overview

HUGO XMin is a minimal Hugo theme written by Yihui Xie. Its main purpose is to serve as a minimal example for beginners of Hugo templates. The theme consists of approximately 130 lines of code, including both HTML templates and CSS.

Features

  • Minimal design
  • Beginner-friendly Hugo templates
  • Approximately 130 lines of code
  • Includes a small amount of CSS for improved readability

Installation

To install the HUGO XMin theme, follow these steps:

  1. Open your command line interface.
  2. Navigate to the root directory of your Hugo project.
  3. Run the following command to clone the theme repository:
git clone <theme-repository-url> themes/XMin
  1. Open the config file of your Hugo project.
  2. Set the theme field in the config file to XMin.
  3. Save the config file.

Summary

HUGO XMin is a minimal Hugo theme designed specifically for beginners. With its minimal design and beginner-friendly templates, it serves as a great starting point for those new to Hugo. Despite its simplicity, the theme includes a small amount of CSS to improve readability. Installation is straightforward, following a simple cloning process and configuration update.