Getting Started with Hugo Help Site Template
A minimal Hugo template with i18n support, perfect for help sites, blogs, or content portals.
Welcome to the Hugo Help Site template! This is a minimal skeleton extracted from a real project, keeping only the essentials:
Features
- i18n Support: Built-in Chinese and English configuration, easily extensible
- xmin Theme: Based on Yihui Xie’s minimal theme, clean and simple
- Responsive Design: Automatically adapts to desktop and mobile
- Pure CSS: No JavaScript, lightweight and fast
Quick Start
- Clone the repo and initialize submodules
- Run
hugo server -Dto start the dev server - Add content in the
content/directory
Directory Structure
content/
├── zh-cn/ # Chinese content
│ └── post/ # Posts
└── en/ # English content
└── post/ # Posts
Customization
- Change
baseURLandtitleinhugo.toml - Replace CSS variables in
static/css/custom.cssto change colors - Add more languages in the
i18n/directory
Happy writing!