Skip to content
Discussion options

You must be logged in to vote

You can use a depth condition in the route, example shown here: https://statamic.dev/collections#organizing-gaming-articles

You can do this:

route: '{{ depth == 1 ?= mount }}/{{ parent_uri }}/{{ slug }}'

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@wetnet
Comment options

Answer selected by wetnet
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants