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?

  1. Signup on 21YunBox
  2. Fork Hugo Example
  3. 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:

How to deploy Hugo to the server operation video