Hi, I have create a single page website and trying to disable certain page from generation; as they are only data for constructing the sections in the homepage.
Each homepage’s section are separate into different markdowns, e.g., contact section is pulling content from contact.md. Now the issue is Hugo generated the “/contact” url and its own page, so how can I disable it?
Thanks, I removed the single and list template in the _default folder, now it wont generate those pages anymore. But their links still appear when generate the sitemap. So I disallowed bots to crawl them in the robots.txt.
So I guess this is solved, thank you very much for your help @maiki !