A personal blog built with Hugo and hosted on GitHub Pages.
macOS (Homebrew):
brew install hugo
Linux:
sudo apt install hugo
# or
sudo yum install hugo
Windows:
choco install hugo -extended
Or download from: https://github.com/gohugoio/hugo/releases
# Start local server
hugo server
# Open http://localhost:1313
hugo new posts/my-new-post.md
Then edit the file in content/posts/
hugo --minify
The output will be in the public/ folder.
Create markdown files in content/posts/ with front matter:
---
title: "Your Title"
date: 2026-03-10
categories:
- Category1
tags:
- tag1
---
Your content here...
This site uses GitHub Actions to automatically deploy to GitHub Pages on every push to main branch.
Check deployment status at: https://github.com/zoomlion/zoomlion.github.io/actions
.
├── content/ # Blog posts and pages
│ ├── posts/ # Blog posts
│ └── about.md # About page
├── layouts/ # Hugo templates
├── assets/ # CSS, JS, images
├── static/ # Static files
├── hugo.toml # Hugo configuration
└── public/ # Generated site (gitignored)
MIT