2 things here:
I just wanted to hide my Error page from the Panel and experienced a bug that was already described here:
It seems that you can not hide a page, when the blueprint site.yml has set pages: false.
Also when you set pages to false and click on edit something calles on NULL. See gif below.
Why would you want to set pages: false on site? Maybe itās a bug, but site cannot have no pages, because home and error are default pages, which cannot be deleted.
If you want to disallow adding any more pages, use the max option.
Well if you have a fixed amount of pages that exist and you donāt want anyone to be able to create more of them on the first level of your folder hierarchy, then it makes sense to restrict the page creation by disabling it.
In my case I have a one-pager that has a strict set amount of pages that structure the site into sections. You then can expand and append content to those sections but you should not be able to add more āmain-pagesā but just āsub-pagesā.
So I donāt want to have āno pagesā but I donāt want to have any further pages
Thatās why I suggested to use the max option instead of setting pages to false in general, which is actually the correct setting for your use case, not pages:false.