commit a48ac6e94514738ac9cc8f92cba89bd1f0c06a0c
parent 0614a59b0f35344987062133cfab67520e88e3b8
Author: integrii <integrii@gmail.com>
Date: Mon, 1 Feb 2016 01:08:34 -0800
docs: Clarify first level URL generation
Diffstat:
1 file changed, 7 insertions(+), 0 deletions(-)
diff --git a/docs/content/content/organization.md b/docs/content/content/organization.md
@@ -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.