8000 Navigation indexes are not rendered correctly on the Blog index from the second page onwards · Issue #5972 · squidfunk/mkdocs-material · GitHub
[go: up one dir, main page]

Skip to content

Navigation indexes are not rendered correctly on the Blog index from the second page onwards #5972

@vedranmiletic

Description

@vedranmiletic

Context

No response

Bug description

When using blog plugin with navigation.indexes feature, only the first page of the Blog index has the correctly rendered navigation. Other pages of the Blog index are rendered as if the feature is not enabled.

Interestingly enough, this happens only when there is at least three pages of posts in the Blog index.

Blog archive is affected the same way. I haven't checked if categories are affected since we don't use them.

Additionally, if the tags plugin is enabled, the Tags page will exhibit the same behavior regarding the rendering of the Blog index in the navigation. I have not included this in the minimal example on purpose to keep it minimal, but it can be observed on our group website. I can prepare a less minimal example if needed.

Related links

Reproduction

9.2.8-navigation.zip

Steps to reproduce

  1. mkdocs serve
  2. look at the navigation in first page of the Blog index
  3. see it is rendered as intended
  4. navigate to the second or the third page
  5. see it is rendered as if it would be without navigation.indexes feature enabled

Browser

No response

Before submitting

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugIssue reports a bugresolvedIssue is resolved, yet unreleased if open

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0