Skip to content

Nested pages not working as described #1988

@kylehodgson

Description

@kylehodgson

The fine manual here asserts that we can have page objects that themselves have pages arrays. However, it doesn't appear to be working for me at the moment.

Here's a semi-simplified version of my code, resulting site is here. Should this not work?

 pages: [ { name: "Electrified Aviation", pages: [ {name: "Airports", path: "/airports"}, {name: "Aircraft", path: "/activity"}, {name: " - Pipistrel", path: "/oems/PIPISTREL"}, {name: " - Joby", path: "/oems/JOBY"}, {name: " - Beta", path: "/oems/BETA TECHONOLOGIES"}, {name: " - H55/BRM", path: "/oems/BRM AERO"}, {name: "About AirCharg.ing", path: "about"}, {name: "AirCharg.ing Methodology", path: "methodology"}, {name: "Subscribe", path: "https://aircharge.substack.com/subscribe"}, {name: "Sneak peak: New data system", path: "/map"}, ] }, { name: "Updates", pages: [ {name: "Update One", path: "/this-one-works"}, {name: "Update Two", path: "/so-does-this-one"} ] } ]

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn’t working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions