Hello.
I follow the folder structure contents\projects\project-name\index.md
, but, I don’t want Hugo to generate a index.html
for projects
directory, as well as to exclude it from the generated sitemap.xml
. Is it possible? I’m using netlify.toml
to force it to redirect to 404, but, I thought, I might as well try to disable the generation of the page as a whole to clear invalid pages in my .sitemap.xml
. If this was a markdown page, I’d have used a boolean to set it, but, I don’t know how to do it for non-markdown pages.
Also, I’d like to disable the generation of index.xml
file for all the folders. I had read somewhere it’s possible through some content in config.toml
, but, couldn’t really understand it back then and I can’t find it now.