Dynamically adding new pages does not reflect in on_nav files list #7477
mihaigalos
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I'm trying to dynamically create index.md files for subfolders which contain no markdown.
These show up in the URL as subpathA/subpathB/subpathC/README.md
If a user manually edits the URL to navigate to say subpathA/subpathB - that's a 404 since the page does not exist.
With this approach, it would contain the listing of the subpath (a list entry with subpathC).
It seems however, that I cannot filter the generated files in
on_nav()
, since they're not part of thefiles
list, why is that?:Beta Was this translation helpful? Give feedback.
All reactions