Skip to content

[5.x] Ability to exclude parents from nav tag #11597

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Mar 19, 2025
Merged

Conversation

jasonvarga
Copy link
Member

You can add include_parents="false" to a nav tag to prevent parent keys being added.

Fixes #11595

@jasonvarga jasonvarga merged commit 85bfbff into 5.x Mar 19, 2025
26 checks passed
@jasonvarga jasonvarga deleted the nav-include-parents branch March 19, 2025 17:44
duncanmcclean added a commit to statamic/docs that referenced this pull request Mar 26, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Nav tag performance issues due to parent object
1 participant