🔥 📝 Fixed #148 Add English language support.
This commit is contained in:
60
exampleSite/content/post/01-hello-world/index.en-us.md
Normal file
60
exampleSite/content/post/01-hello-world/index.en-us.md
Normal file
@@ -0,0 +1,60 @@
|
||||
---
|
||||
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:
|
||||
- Start building website
|
||||
|
||||
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!
|
||||
60
exampleSite/content/post/01-hello-world/index.md
Normal file
60
exampleSite/content/post/01-hello-world/index.md
Normal file
@@ -0,0 +1,60 @@
|
||||
---
|
||||
title: "世界,你好!"
|
||||
description: "快速的描述下有关于 Hugo 建站的基本用法。"
|
||||
|
||||
lastmod: 2022-06-03T16:43:23+08:00
|
||||
date: 2022-06-02T11:52:03+08:00
|
||||
|
||||
categories:
|
||||
- 开始建站
|
||||
|
||||
tags:
|
||||
- Hugo
|
||||
- 开始
|
||||
|
||||
url: demo/hello-world.html
|
||||
toc: true
|
||||
weight: 2
|
||||
---
|
||||
|
||||
> “使用 `weight` 关键字置顶文章。”
|
||||
|
||||
[Hugo](https://gohugo.io/) 是现今世界上最快的网站建设框架,也是最流行的开源静态站点生成器之一。 凭借其惊人的速度和灵活性,Hugo 让建设网站再次变得有趣起来。
|
||||
|
||||
<!--more-->
|
||||
|
||||
## 快速开始
|
||||
|
||||
### 发表新文章
|
||||
|
||||
```shell
|
||||
$ hugo new hello-world.md
|
||||
```
|
||||
|
||||
更多信息:[内容格式](https://gohugo.io/content-management/formats/)
|
||||
|
||||
### 启动服务
|
||||
|
||||
```shell
|
||||
$ hugo server
|
||||
```
|
||||
|
||||
更多信息:[Hugo 服务命令行](https://gohugo.io/commands/hugo_server/)
|
||||
|
||||
### 生成静态文件
|
||||
|
||||
```shell
|
||||
$ hugo
|
||||
```
|
||||
|
||||
更多信息:[Hugo 建站](https://gohugo.io/commands/hugo/)
|
||||
|
||||
### 部署到服务器
|
||||
|
||||
```language
|
||||
$ hugo deploy
|
||||
```
|
||||
|
||||
更多信息:[Hugo 发布](https://gohugo.io/commands/hugo_deploy/)
|
||||
|
||||
祝你好运,相信你会喜欢上 Hugo 建站的旅程!
|
||||
Reference in New Issue
Block a user