2024-10-11 14:27:13 +00:00
+++
2024-10-12 17:28:28 +00:00
categories = ["explanation"]
2024-10-11 14:27:13 +00:00
description = "Your content's directory structure"
title = "Directory Structure"
weight = 1
+++
In **Hugo** , pages are the core of your site.
The theme generates the navigation menu out of the given directory structure.
Organize your site like [any other Hugo project ](https://gohugo.io/content/structure/ ). Typically, you will have a _content_ directory with all your pages.
````plaintext
content
2024-10-11 20:40:10 +00:00
├── first-chapter
│ ├── first-page
2024-10-11 14:27:13 +00:00
| | |── _index.md
2024-10-11 20:40:10 +00:00
| │ ├── first-sub-page
2024-10-11 14:27:13 +00:00
| | | |── _index.md
| | | |── picture1.png
| | | └── plain.txt
2024-10-11 20:40:10 +00:00
│ ├── second-page
2024-10-11 14:27:13 +00:00
| | |── index.md
| | |── picture1.png
| | └── picture2.png
2024-10-11 20:40:10 +00:00
│ └── third-page.md
2024-10-11 14:27:13 +00:00
└── _index.md
````
> [!note]
> While you can also go different, `_index.md` (with an underscore) is recommended for each directory, it's your _directory's home page_.
>
> See [Hugo's guide for content ](https://gohugo.io/content-management/) to learn more.