Skip to content

Allow a layout to be selected on additional paths. #1528

Open
@mikemccaffrey

Description

@mikemccaffrey

It would be great to set more than one path for which a layout is used instead of the default. For example, while most of the pages on a site may have a sidebar, there could be five or so pages that don't have a sidebar, and it'd be great to define a single layout without a sidebar and specify the five paths for which it should be used. Am I correct in assuming that this isn't something that cannot currently be done without creating five different layouts with five different paths?

Perhaps we could just allow the path field to be left as empty, or filled with a single % wildcard, and then just use the visibility conditions options to determine what paths it should be used instead of the default layout?

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions