Index html on homepage and index.html on content directories

Hi

This is my content, and I set my homepage to generate content from the list of blog content

├── blog
│   ├── content1.md
│   ├── content2.md
│   └── content3.md
├── project
│   ├── content1.md
│   ├── content2.md
│   └── content3.md

the issue is Hugo rendering mydomain.com/blog/ which is generate 2 page with the same content (mydomain.com and mydomain.com/blog)

any method to prevent duplicate content or should I try another approach?

You can provide different templates for the home page and the section(s).

Thanks for the answer @bep :slight_smile:

I’m completely novice, would you mind to give me easy showcase or an example from my case (different templates for the home page and the section)?

See https://gohugo.io/