Skip to content

Customize the archive page for blog Plugin,but failed with pagination #6336

@shenweiyan

Description

@shenweiyan

Context

I want to customize the archive page of the mkdocs-material blog plugin, as shown in the screenshot below.

Bug description

Thanks to squidfunk for the assistance provided #6324. I've utilized a hook, but it seems doesn't work for pages beyond the second page if there is pagination.

Related links

Repo: https://github.com/shenweiyan/mkdocs-blog
Link: https://shenweiyan.github.io/mkdocs-blog/blog/archive/2023/

Reproduction

mkdocs-blog.zip

Steps to reproduce

  1. pip3 install -r requirements.txt
  2. mkdocs serve

Browser

Chrome

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