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

routetree doesn't like folders named 'index' #542

Open
dezren39 opened this issue Aug 30, 2024 · 0 comments
Open

routetree doesn't like folders named 'index' #542

dezren39 opened this issue Aug 30, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@dezren39
Copy link
Contributor

dezren39 commented Aug 30, 2024

Describe the bug
When using pretty-url and I make a folder: index/index/index/index.md
I can access it correctly from the url bar manually,
but the sidebar doesn't send me to the right url.

If I start from the nested file and try to go up 1 parent, I go up 2 parents.

To Reproduce
Steps to reproduce the behavior:

  1. Go to https://zettel.developing-today.com/Pages/file/index/index/index/example
  2. Click on direct parent 'index'
  3. You will land in parent of parent 'test'

Expected behavior
It's kind of silly to make such a folder structure, but I would expect either it would work or the documentation would say "Don't do that."

Additional context
I am in a fork where I've made minor changes I think are unrelated to this issue.

Calling this out just in case I'm wrong.

@dezren39 dezren39 added the bug Something isn't working label Aug 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant