What is Hugo?
Hugo is an open source static site generator (SSG) 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?
- Register to become a 21YunBox member
- Fork Hugo Example
- Create with the following configuration
Environment | Static Site |
---|---|
Build command | hugo --gc --minify |
Release 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
Why Choose 21YunBox?
21YunBox is a Cloud Service Platform based out of Beijing, China. Our services provides you with an easy and budget friendly, end-to-end web platform deployment service for all applications and stacks. No matter your need, we have a flexible solution to assist.
If needed, we also offer full support in obtaining your ICP license which allows you to legally host online content within Mainland China.
To learn about the differences between 21YunBox and these foreign (outside of China) cloud service platforms, please refer to:
- 21YunBox vs Heroku
- 21YunBox vs Netlify
- 21YunBox vs Vercel
- 21YunBox vs Gatsby Cloud
- 21YunBox vs Github Pages
- 21YunBox vs Surge.sh
- Compare in terms of function and price: 21YunBox vs Heroku, Netlify, Vercel
This article's content originated here
For additional detail and future modifications, refer the original post.
Top comments (0)