mirror of
https://github.com/gohugoio/hugo.git
synced 2025-04-09 22:46:55 +00:00
docs: Clarify first level URL generation
This commit is contained in:
parent
0614a59b0f
commit
a48ac6e945
1 changed files with 7 additions and 0 deletions
|
@ -28,6 +28,8 @@ in Hugo and is used as the [section](/content/sections/).
|
||||||
|
|
||||||
.
|
.
|
||||||
└── content
|
└── content
|
||||||
|
└── about
|
||||||
|
| └── index.md // <- http://1.com/about/
|
||||||
├── post
|
├── post
|
||||||
| ├── firstpost.md // <- http://1.com/post/firstpost/
|
| ├── firstpost.md // <- http://1.com/post/firstpost/
|
||||||
| ├── happy
|
| ├── happy
|
||||||
|
@ -41,6 +43,8 @@ in Hugo and is used as the [section](/content/sections/).
|
||||||
|
|
||||||
.
|
.
|
||||||
└── content
|
└── content
|
||||||
|
└── about
|
||||||
|
| └── index.md // <- http://1.com/about/
|
||||||
├── post
|
├── post
|
||||||
| ├── firstpost.md // <- http://1.com/post/firstpost.html
|
| ├── firstpost.md // <- http://1.com/post/firstpost.html
|
||||||
| ├── happy
|
| ├── happy
|
||||||
|
@ -57,6 +61,9 @@ that works to organize your source content is used to organize the rendered
|
||||||
site. As displayed above, the organization of the source content will be
|
site. As displayed above, the organization of the source content will be
|
||||||
mirrored in the destination.
|
mirrored in the destination.
|
||||||
|
|
||||||
|
Notice that the first level `about/` page URL was created using a directory
|
||||||
|
named "about" with a single `index.md` file inside.
|
||||||
|
|
||||||
There are times when one would need more control over their content. In these
|
There are times when one would need more control over their content. In these
|
||||||
cases, there are a variety of things that can be specified in the front matter
|
cases, there are a variety of things that can be specified in the front matter
|
||||||
to determine the destination of a specific piece of content.
|
to determine the destination of a specific piece of content.
|
||||||
|
|
Loading…
Add table
Reference in a new issue