Open jip149 opened 2 weeks ago
https://github.com/jip149/nuxt-content-fetchNavigation-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.
_dir.yml
index.md
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.
example
No response
Environment
Build Modules: -
Reproduction
https://github.com/jip149/nuxt-content-fetchNavigation-bug
Describe the bug
When content dir has both a
_dir.yml
andindex.md
file, metadata from_dir.yml
is used, and metadata fromindex.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