I was under the assumption that when you adjust a content file to headless: true, the url of the page cannot be reached.
I have the following content structure
The content of _index.md is as follows:
--- title: Legal headless: true ---
But when I type the url domain.com/legal it shows my standard list template. Of course without data in it, but I don’t want / legal to be reachable, but only / legal / security to be reachable
Am I missing something or running into a bug? I have the most recent version of hugo running 0.61.0