60 lines
1.0 KiB
Markdown
60 lines
1.0 KiB
Markdown
---
|
||
title: "'Hello World'"
|
||
isCJKLanguage: true
|
||
|
||
author: elkan1788
|
||
lastmod: '2022-06-02T11:52:03+08:00'
|
||
publishDate: '2022-06-02T11:52:03+08:00'
|
||
|
||
categories:
|
||
- 博客
|
||
tags:
|
||
- Hugo
|
||
- 开始
|
||
|
||
toc: false
|
||
draft: true
|
||
url: hello-world2.html
|
||
---
|
||
|
||
The world’s fastest framework for building websites.
|
||
|
||
[Hugo](https://gohugo.io/) is one of the most popular open-source static site generators. With its amazing speed and flexibility, Hugo makes building websites fun again.
|
||
|
||
<!--more-->
|
||
|
||
## Quick Start
|
||
|
||
### Create a new post
|
||
|
||
```shell
|
||
$ hugo new hello-world.md
|
||
```
|
||
|
||
More info: [Content's Formats](https://gohugo.io/content-management/formats/)
|
||
|
||
### Run server
|
||
|
||
```shell
|
||
$ hugo server
|
||
```
|
||
|
||
More info: [Hugo Server CLI](https://gohugo.io/commands/hugo_server/)
|
||
|
||
### Generate static files
|
||
|
||
```shell
|
||
$ hugo
|
||
```
|
||
|
||
More info: [Hugo Build Site](https://gohugo.io/commands/hugo/)
|
||
|
||
### Deploy to remote sites
|
||
|
||
```language
|
||
$ hugo deploy
|
||
```
|
||
|
||
More info: [Hugo Deployment](https://gohugo.io/commands/hugo_deploy/)
|
||
|
||
See you will enjoy the Hugo journey and good luck for you! |