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
"Home" title using "navigation.instant" feature #4924
Comments
Thanks for reporting. However, this issue is incomplete. We need a reproduction. Please follow the reproduction guide, it's actually super easy to create one, but helps us maintainers save a lot of time, providing bugfixes much quicker. Closing as incomplete. We'll reopen when this issue has a reproduction. |
Hello Martin, |
Thanks for the excellent reproduction – that made observing and fixing the problem straight forward! The reason was that the header title state was not reset when navigating, and when the document contains no headline, it stayed in the state it was in before. Fixed in ff99e19 by resetting the title state on navigation. |
Released as part of 9.0.12. |
Thanks Martin |
Context
No response
Bug description
Hello
when I navigate back to the index page of my website, my title in the top left corner of the page (div class="md-header__title") is changed into "Home" label. If I remove "navigation.instant" feature from mkdocs.yml, the issue disappears.
Related links
Reproduction
example.zip
Steps to reproduce
If I replace the last 2 steps by :
4. Scrolling back to top --> Title = site_name (from mkdocs.yml) --> OK
5. Click the logo, the index page is displaying --> site_name (from mkdocs.yml) --> OK
Browser
Firefox
Before submitting
The text was updated successfully, but these errors were encountered: