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

hide pages - behaviour changed in 1.0.1 #111

Open
tombeteende opened this issue Sep 24, 2024 · 1 comment
Open

hide pages - behaviour changed in 1.0.1 #111

tombeteende opened this issue Sep 24, 2024 · 1 comment

Comments

@tombeteende
Copy link

Previously, even if a page was hidden, I could access it by giving the exact path.

I used it in a link to access pages I didn't want to show in the navigation bar. After upgrading to 1.0.1, when clicking those links, I was redirected to the default page.

Is this the expected behavior? Is there a way to bypass it?

Thanks

@blackary
Copy link
Owner

Hi @tombeteende, can you share a little more about how you are "giving the exact path"? If you mean putting it in the url, that should still work even if you've hidden a page using hide_page(). But, if you've hidden a page by not including it in pages.toml, then it will not be accessible.

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

2 participants