Navigation depth limited? #5315
-
I am trying to create a nice megamenu requiring specific classes on the nav's children en their grandchildren. So I cannot use the magical Statamic solution {{ recursive children }} where I cannot add classes on automagically created children. My problem, when I create a second branch using children I get an error on this second branch:
Example code (I removed irrelevant stuff like classes out of this example to make it less cluttering):
When I remove the deepest branch:
The error disappears and the code works. Is there a limit on the amount of nested children or am I doing something wrong? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
Looks like a parser issue to me. Good news is that the new parser doesn't have this issue. It'll be out in 3.3. |
Beta Was this translation helpful? Give feedback.
Looks like a parser issue to me. Good news is that the new parser doesn't have this issue. It'll be out in 3.3.