Route recursion issue with orderable collection #6982
-
I have a few orderable collections with routes If I omit the How can I do this? |
Beta Was this translation helpful? Give feedback.
Answered by
jasonvarga
Nov 1, 2022
Replies: 1 comment 1 reply
-
You can use a You can do this: route: '{{ depth == 1 ?= mount }}/{{ parent_uri }}/{{ slug }}' |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
wetnet
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
You can use a
depth
condition in the route, example shown here: https://statamic.dev/collections#organizing-gaming-articlesYou can do this: