60 lines
1.2 KiB
Markdown
60 lines
1.2 KiB
Markdown
---
|
|
title: "Hello world"
|
|
description: "Quickly describe the basic usage of Hugo website building."
|
|
|
|
date: 2025-01-25T19:12:32+08:00
|
|
lastmod: 2025-01-25T19:12:32+08:00
|
|
|
|
categories:
|
|
- StartBuilSite
|
|
|
|
tags:
|
|
- Hugo
|
|
- Start now
|
|
|
|
url: demo/hello-world.html
|
|
toc: true
|
|
weight: 2
|
|
---
|
|
|
|
> Use the keyword `weight` to top the article.
|
|
|
|
[Hugo](https://gohugo.io/), It is currently the fastest website construction framework in the world and one of the most popular open-source static site generators. With its astonishing speed and flexibility, Hugo has once again made website construction interesting.
|
|
|
|
<!--more-->
|
|
|
|
## Quick Start
|
|
|
|
### Publish a new article
|
|
|
|
```shell
|
|
$ hugo new hello-world.md
|
|
```
|
|
|
|
More information: [Content format](https://gohugo.io/content-management/formats/)
|
|
|
|
### Start service
|
|
|
|
```shell
|
|
$ hugo server
|
|
```
|
|
|
|
More information: [Hugo Service Command Line](https://gohugo.io/commands/hugo_server/)
|
|
|
|
### Generate static files
|
|
|
|
```shell
|
|
$ hugo
|
|
```
|
|
|
|
More information: [Hugo website building](https://gohugo.io/commands/hugo/)
|
|
|
|
### Deploy to server
|
|
|
|
```language
|
|
$ hugo deploy
|
|
```
|
|
|
|
More information: [Hugo Release](https://gohugo.io/commands/hugo_deploy/)
|
|
|
|
Good luck, I believe you will love Hugo's journey of building a website! |