2024-10-11 16:27:13 +02:00
+++
2025-03-21 10:14:12 +01:00
categories = ['explanation']
2024-10-11 16:27:13 +02:00
description = "Your content's directory structure"
2025-03-21 10:14:12 +01:00
title = 'Directory Structure'
2024-10-11 16:27:13 +02:00
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.
2025-03-24 00:53:04 +01:00
````tree
- content::folder
- log::folder
- first-day::folder
- _index.md::fa-fw fab fa-markdown::secondary
- first-sub-page::folder
- _index.md::fa-fw fab fa-markdown::secondary
- picture1.png::file-alt::accent
- plain.txt::file-alt::accent
- second-day::folder
- index.md::fa-fw fab fa-markdown::secondary
- picture1.png::file-alt::accent
- picture2.png::file-alt::accent
- third-day.md::fa-fw fab fa-markdown::secondary
- _index.md::fa-fw fab fa-markdown::secondary
- _index.md::fa-fw fab fa-markdown::secondary
2024-10-11 16:27:13 +02:00
````
> [!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.