Skip to content
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

fetchNavigation with /_dir.yml and /index.md return incoherent results #2660

Open
jip149 opened this issue Jun 8, 2024 · 0 comments
Open

Comments

@jip149
Copy link

jip149 commented Jun 8, 2024

Environment



Reproduction

https://github.com/jip149/nuxt-content-fetchNavigation-bug

Describe the bug

When content dir has both a _dir.yml and index.md file, metadata from _dir.yml is used, and metadata from index.md can't be found in the navigation.

If the index.md file is removed, metadata from _dir.yml can't be found in the navigation.

Subdirectories work as expected, see the example directory in the repo above.

Additional context

No response

Logs

No response

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

No branches or pull requests

1 participant