I am using the content organization guidelines described by the hugo website and it seems to not work whenever I run hugo server -D
. any suggestions as to how I could get it to work?
this is the structure offered by the hugo docs just in case:
.
└── content
└── about
| └── index.md // <- https://example.com/about/
├── posts
| ├── firstpost.md // <- https://example.com/posts/firstpost/
| ├── happy
| | └── ness.md // <- https://example.com/posts/happy/ness/
| └── secondpost.md // <- https://example.com/posts/secondpost/
└── quote
├── first.md // <- https://example.com/quote/first/
└── second.md // <- https://example.com/quote/sec
Do you know the difference between index.md and _index.md? You must use the latter in this case.
https://discourse.gohugo.io/t/what-is-the-difference-between-index-md-and-index-md/10330