Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/gohugoio/hugo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorintegrii <integrii@gmail.com>2016-02-01 12:08:34 +0300
committerdigitalcraftsman <digitalcraftsman@protonmail.com>2016-09-03 16:32:29 +0300
commita48ac6e94514738ac9cc8f92cba89bd1f0c06a0c (patch)
tree70a91da8b35fadd856a0406f5b0563490b7ae9da /docs
parent0614a59b0f35344987062133cfab67520e88e3b8 (diff)
docs: Clarify first level URL generation
Diffstat (limited to 'docs')
-rw-r--r--docs/content/content/organization.md7
1 files changed, 7 insertions, 0 deletions
diff --git a/docs/content/content/organization.md b/docs/content/content/organization.md
index 5a14d592f..b152579f8 100644
--- 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.