What is Hugo?
Hugo is an open source static site generator based on the Go language. It is extremely fast and can package a 20-page static blog in a few milliseconds. Entities such as 1Password Support and Let’s Encrypt use Hugo to make their static sites.
21YunBox provides a very simple Hugo deployment method. You can deploy on the 21YunBox in the form of a static site.
How to Deploy Hugo in China?
- Signup on 21YunBox
- Fork Hugo Example
- Use the following values during creation
Runtime | Static Site |
---|---|
Build command | hugo --gc --minify |
Publish directory | ./public |
If you’d like a step by step example, please refer to the video below: