mirror of
https://github.com/gohugoio/hugo.git
synced 2024-11-21 20:46:30 -05: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
|
||||
└── about
|
||||
| └── index.md // <- http://1.com/about/
|
||||
├── post
|
||||
| ├── firstpost.md // <- http://1.com/post/firstpost/
|
||||
| ├── happy
|
||||
|
@ -41,6 +43,8 @@ in Hugo and is used as the [section](/content/sections/).
|
|||
|
||||
.
|
||||
└── content
|
||||
└── about
|
||||
| └── index.md // <- http://1.com/about/
|
||||
├── post
|
||||
| ├── firstpost.md // <- http://1.com/post/firstpost.html
|
||||
| ├── 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
|
||||
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
|
||||
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.
|
||||
|
|
Loading…
Reference in a new issue