Generated with the help of an LLM.
Problem/Motivation
Enabled is checked by default when adding a page layout, and the form seeds its sources from the starting point. On Save the layout takes over its matching pages before anyone opens the builder.
With Minimal Drupal page, the default for a conditional layout, those pages turn unstyled.
Steps to reproduce
- Add a page layout with a path condition, keep the defaults and save.
- Visit a matching page: it renders with the Minimal Drupal page starting point, without the theme page template.
Proposed resolution
Leave Enabled unchecked on a new page layout. Update docs/page-layout.md and docs/build-a-homepage.md, which say "Keep Enabled selected".
Remaining tasks
- Functional test: a new layout saved with the defaults is disabled.
- Fix and docs.
Comments