Skip to content

Commit e501eef

Browse files
integriidigitalcraftsman
authored andcommitted
docs: Clarify first level URL generation
1 parent b0a6a63 commit e501eef

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

docs/content/content/organization.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,8 @@ in Hugo and is used as the [section](/content/sections/).
2828

2929
.
3030
└── content
31+
└── about
32+
| └── index.md // <- http://1.com/about/
3133
├── post
3234
| ├── firstpost.md // <- http://1.com/post/firstpost/
3335
| ├── happy
@@ -41,6 +43,8 @@ in Hugo and is used as the [section](/content/sections/).
4143

4244
.
4345
└── content
46+
└── about
47+
| └── index.md // <- http://1.com/about/
4448
├── post
4549
| ├── firstpost.md // <- http://1.com/post/firstpost.html
4650
| ├── happy
@@ -57,6 +61,9 @@ that works to organize your source content is used to organize the rendered
5761
site. As displayed above, the organization of the source content will be
5862
mirrored in the destination.
5963

64+
Notice that the first level `about/` page URL was created using a directory
65+
named "about" with a single `index.md` file inside.
66+
6067
There are times when one would need more control over their content. In these
6168
cases, there are a variety of things that can be specified in the front matter
6269
to determine the destination of a specific piece of content.

0 commit comments

Comments
 (0)