Tạo trang

Thêm trang mặc định, trang tài liệu, bài đăng trên blog hoặc trang cộng tác viên

Cấu trúc tệp nội dung:

..
├── content
├──── en
├────── blog/
│       ├── first-post/
│       │   ├── index.md
│       │   └── feature-sunset.png
│       └── _index.md
├────── ca-tv/
│       ├── ca-tv-fund7/
│       │   ├── _index.md
│       │   └── episode-one.md
│       ├── ca-tv-intro/
│       │   ├── _index.md
│       │   └── introduction.md
│       └── _index.md
├────── catalyst/
│       ├── fund6/
│       │   ├── challenge-setting-proposals/
│       │   │  ├── grow-asia.md
│       │   │  ├── grow-social-finance.md
│       │   │  └── _index.md
│       │   ├── challenges/
│       │   │  └── _index.md
│       │   └── _index.md
│       ├── overview/
│       │   ├── _index.md
│       │   ├── catalyst-overview.md
│       │   └── image-and-media.md
│       └── _index.md
├────── docs/
│       ├── catalyst-guides/
│       │   ├── _index.md
│       │   └── guides.md
│       ├── how-to guides/
│       │   ├── _index.md
│       │   ├── pages.md
│       │   └── image-and-media.md
│       └── _index.md
└── _index.md

Tham khảo tài liệu trên Hugo: Content Organization.

Add a default page

Example

npm run create about/index.md

Add a documentation page

Example

npm run create docs/overview/introduction.md

Add a blog post

Example

npm run create blog/say-hello-to-doks/index.md

Add a contributor page

Example

npm run create contributors/henk-verlinde/_index.md