Disallow creation of new pages on site / first page of panel …


#1

Dear everyone,

think I’m overseeing some pretty obvious answer to this question …

I’d like to disallow the creation of new pages on the first site of panel, so panel/site.

How would I achieve that?

Thank you!


#2

Let’s say you have a Pages section with 4 pages. To prevent adding any more, set:

mypages:
  type: pages
  max: 4

#3

I thought I could add pages: false to site/blueprints/site.yml, but this doesn’t work …

EDIT: Drafts shows up, empty, with a + button to add new drafts.