Lets see if I stumbled on a bug or if this is the intended behaviour.
I’m setting up the blueprint for the homepage of a site and I’m trying to configure the status
If I use this
status:
draft : Draft
unlisted : Unlisted
listed : Published
You can’t disable the draft state. All pages are always created as drafts first. Are you using a hook to set a listed or unlisted state on page creation?
For all other pages, you wouldn’t be able to create pages if there was no draft state.
This is another issue and I think there could be a solution (for example allow the possibility of creating pages with the desired status as default) but it’s not that important right now
…or, if we had the ability to programatically override blueprint options, you could use a page.create:after hook to change the status of the page after creating it, even if in its blueprint you had set its changeStatus: false.
Yep, that’s a different story. However, it would just be a workaround while the issue that the draft option exists when you can’t make the home page a draft page, persists.