Nested routes with routes.yaml config

  • How was Ghost installed and configured?
    docker image

  • What Node version, database, OS & browser are you using?
    chrome, mysql,node 8

  • What errors or information do you see in the console?
    404 page not found

  • What steps could someone else take to reproduce the issue you’re having?
    I wanted to create a hierarchical route structuring on my website. As usually my parent route has a custom template so that i configures that in routes.yaml in routes section like this…

/locations/:

controller: channel

template: custom-locations

and I’m trying something my child route to be with a slug of a post. so i configures something like this in collections:

/locations/:

  permalink: /locations/{slug}/

  template: custom-location

And I’m unable to achieve this, can you guys help me out?